mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
FIX: Rename to Settings for platform consistency
This commit is contained in:
parent
f15c08195f
commit
0b1504589e
1 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@
|
|||
completionHandler(UNNotificationPresentationOptionSound | UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionBadge);
|
||||
}
|
||||
|
||||
- (void)openPreferences {
|
||||
- (void)openSettings {
|
||||
[EventEmitter.sharedInstance openSettings];
|
||||
}
|
||||
|
||||
|
@ -131,9 +131,9 @@
|
|||
[builder removeMenuForIdentifier:UIMenuToolbar];
|
||||
[builder removeMenuForIdentifier:UIMenuFile];
|
||||
|
||||
UIKeyCommand *preferencesCommand = [UIKeyCommand keyCommandWithInput:@"," modifierFlags:UIKeyModifierCommand action:@selector(openPreferences)];
|
||||
[preferencesCommand setTitle:@"Preferences..."];
|
||||
UIMenu *preferences = [UIMenu menuWithTitle:@"Preferences..." image:nil identifier:@"openPreferences" options:UIMenuOptionsDisplayInline children:@[preferencesCommand]];
|
||||
UIKeyCommand *settingsCommand = [UIKeyCommand keyCommandWithInput:@"," modifierFlags:UIKeyModifierCommand action:@selector(openSettings)];
|
||||
[settingsCommand setTitle:@"Settings..."];
|
||||
UIMenu *settings = [UIMenu menuWithTitle:@"Settings..." image:nil identifier:@"openSettings" options:UIMenuOptionsDisplayInline children:@[settingsCommand]];
|
||||
|
||||
[builder insertSiblingMenu:preferences afterMenuForIdentifier:UIMenuAbout];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue