Skip to content

Commit 6971540

Browse files
huntiefacebook-github-bot
authored andcommitted
Rename "Debug Menu" title to "Dev Menu" on iOS (#36981)
Summary: Pull Request resolved: #36981 We are (following a quick internal RFC) looking to standardise the term "[in-app] [Developer|Debug] menu" to "Dev Menu" in the React Native Debugging docs (and all docs references). (Indeed, the prevalent existing use in docs was already "Developer menu".) This PR aligns naming in the `RCTDevMenu` component on iOS. See also facebook/react-native-website#3692. Changelog: [iOS][Changed] - Rename "Debug Menu" title to "Dev Menu" Reviewed By: christophpurrer Differential Revision: D44872456 fbshipit-source-id: c222bb2c551a4f434a1dc0efbb8d4f75c785aa11
1 parent dec8562 commit 6971540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-native/React/CoreModules/RCTDevMenu.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,10 @@ - (void)setDefaultJSBundle
428428
? UIAlertControllerStyleActionSheet
429429
: UIAlertControllerStyleAlert;
430430

431-
NSString *debugMenuType = self.bridge ? @"Bridge" : @"Bridgeless";
432-
NSString *debugMenuTitle = [NSString stringWithFormat:@"React Native Debug Menu (%@)", debugMenuType];
431+
NSString *devMenuType = self.bridge ? @"Bridge" : @"Bridgeless";
432+
NSString *devMenuTitle = [NSString stringWithFormat:@"React Native Dev Menu (%@)", devMenuType];
433433

434-
_actionSheet = [UIAlertController alertControllerWithTitle:debugMenuTitle message:description preferredStyle:style];
434+
_actionSheet = [UIAlertController alertControllerWithTitle:devMenuTitle message:description preferredStyle:style];
435435

436436
NSArray<RCTDevMenuItem *> *items = [self _menuItemsToPresent];
437437
for (RCTDevMenuItem *item in items) {

0 commit comments

Comments
 (0)