mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
hideToMenuBar
This commit is contained in:
parent
4eb4b40e63
commit
50d2bab81b
@ -1227,5 +1227,8 @@
|
|||||||
},
|
},
|
||||||
"enableMenuBarDesc": {
|
"enableMenuBarDesc": {
|
||||||
"message": "Always show an icon in the menu bar."
|
"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, {
|
(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'),
|
click: () => this.main.messagingService.send('hideToTray'),
|
||||||
accelerator: 'CmdOrCtrl+Shift+M',
|
accelerator: 'CmdOrCtrl+Shift+M',
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user