mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-26 18:58:21 +02:00
Desktop: Remove Hide Joplin menu item on Linux and Windows
This commit is contained in:
parent
ea878fb614
commit
3539a452a3
@ -397,12 +397,16 @@ function useMenu(props:Props) {
|
|||||||
}, shim.isMac() ? noItem : printItem, {
|
}, shim.isMac() ? noItem : printItem, {
|
||||||
type: 'separator',
|
type: 'separator',
|
||||||
platforms: ['darwin'],
|
platforms: ['darwin'],
|
||||||
}, {
|
},
|
||||||
|
|
||||||
|
!shim.isMac() ? noItem : {
|
||||||
label: _('Hide %s', 'Joplin'),
|
label: _('Hide %s', 'Joplin'),
|
||||||
platforms: ['darwin'],
|
platforms: ['darwin'],
|
||||||
accelerator: shim.isMac() && keymapService.getAccelerator('hideApp'),
|
accelerator: shim.isMac() && keymapService.getAccelerator('hideApp'),
|
||||||
click: () => { bridge().electronApp().hide(); },
|
click: () => { bridge().electronApp().hide(); },
|
||||||
}, {
|
},
|
||||||
|
|
||||||
|
{
|
||||||
type: 'separator',
|
type: 'separator',
|
||||||
},
|
},
|
||||||
quitMenuItem],
|
quitMenuItem],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user