mirror of https://github.com/laurent22/joplin.git
Desktop: Regression: Remove Hide Joplin menu item on Linux too
parent
ff50361e19
commit
c01f533342
|
@ -399,12 +399,12 @@ function useMenu(props:Props) {
|
||||||
platforms: ['darwin'],
|
platforms: ['darwin'],
|
||||||
},
|
},
|
||||||
|
|
||||||
!shim.isMac() ? noItem : {
|
shim.isMac() ? {
|
||||||
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(); },
|
||||||
},
|
} : noItem,
|
||||||
|
|
||||||
{
|
{
|
||||||
type: 'separator',
|
type: 'separator',
|
||||||
|
|
Loading…
Reference in New Issue