diff --git a/src/tray.js b/src/tray.js index d3d030924..f640ca3da 100644 --- a/src/tray.js +++ b/src/tray.js @@ -52,7 +52,7 @@ function buildMenu (ctx) { label: i18n.t('restart'), click: () => { ctx.restartIpfs() }, visible: false, - accelerator: IS_MAC ? 'Command+R' : undefined + accelerator: IS_MAC ? 'Command+R' : null }, { id: 'startIpfs', @@ -87,7 +87,7 @@ function buildMenu (ctx) { id: 'takeScreenshot', label: i18n.t('takeScreenshot'), click: () => { takeScreenshot(ctx) }, - accelerator: IS_MAC ? SCREENSHOT_SHORTCUT : undefined, + accelerator: IS_MAC ? SCREENSHOT_SHORTCUT : null, enabled: false }, { type: 'separator' }, @@ -201,7 +201,7 @@ function buildMenu (ctx) { { label: i18n.t('quit'), click: () => { app.quit() }, - accelerator: IS_MAC ? 'Command+Q' : undefined + accelerator: IS_MAC ? 'Command+Q' : null } ]) }