1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Remove Hide Joplin menu item on Linux and Windows

This commit is contained in:
Laurent Cozic 2020-10-12 10:45:00 +01:00
parent ea878fb614
commit 3539a452a3

View File

@ -397,12 +397,16 @@ function useMenu(props:Props) {
}, shim.isMac() ? noItem : printItem, {
type: 'separator',
platforms: ['darwin'],
}, {
},
!shim.isMac() ? noItem : {
label: _('Hide %s', 'Joplin'),
platforms: ['darwin'],
accelerator: shim.isMac() && keymapService.getAccelerator('hideApp'),
click: () => { bridge().electronApp().hide(); },
}, {
},
{
type: 'separator',
},
quitMenuItem],