mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
hideToMenuBar
This commit is contained in:
parent
4eb4b40e63
commit
50d2bab81b
@ -1227,5 +1227,8 @@
|
||||
},
|
||||
"enableMenuBarDesc": {
|
||||
"message": "Always show an icon in the menu bar."
|
||||
},
|
||||
"hideToMenuBar": {
|
||||
"message": "Hide to Menu Bar"
|
||||
}
|
||||
}
|
||||
|
@ -442,7 +442,7 @@ export class MenuMain extends BaseMenu {
|
||||
}
|
||||
|
||||
(template[template.length - 2].submenu as MenuItemConstructorOptions[]).splice(1, 0, {
|
||||
label: this.main.i18nService.t('hideToTray'),
|
||||
label: this.main.i18nService.t(process.platform === 'darwin' ? 'hideToMenuBar' : 'hideToTray'),
|
||||
click: () => this.main.messagingService.send('hideToTray'),
|
||||
accelerator: 'CmdOrCtrl+Shift+M',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user