diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 7c69ddea7..e8d3e79b4 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -6,7 +6,7 @@ import { autorun, observable } from 'mobx'; | |||
6 | import { defineMessages } from 'react-intl'; | 6 | import { defineMessages } from 'react-intl'; |
7 | import { CUSTOM_WEBSITE_RECIPE_ID, GITHUB_FERDI_URL, LIVE_API_FERDI_WEBSITE } from '../config'; | 7 | import { CUSTOM_WEBSITE_RECIPE_ID, GITHUB_FERDI_URL, LIVE_API_FERDI_WEBSITE } from '../config'; |
8 | import { | 8 | import { |
9 | cmdKey, altKey, shiftKey, isLinux, isMac, aboutAppDetails, | 9 | cmdKey, altKey, shiftKey, settingsShortcutKey, isLinux, isMac, aboutAppDetails, |
10 | } from '../environment'; | 10 | } from '../environment'; |
11 | import { announcementsStore } from '../features/announcements'; | 11 | import { announcementsStore } from '../features/announcements'; |
12 | import { announcementActions } from '../features/announcements/actions'; | 12 | import { announcementActions } from '../features/announcements/actions'; |
@@ -727,7 +727,7 @@ export default class FranzMenu { | |||
727 | }, | 727 | }, |
728 | { | 728 | { |
729 | label: intl.formatMessage(menuItems.settings), | 729 | label: intl.formatMessage(menuItems.settings), |
730 | accelerator: `${cmdKey}+,`, | 730 | accelerator: `${settingsShortcutKey()}`, |
731 | click: () => { | 731 | click: () => { |
732 | this.actions.ui.openSettings({ path: 'app' }); | 732 | this.actions.ui.openSettings({ path: 'app' }); |
733 | }, | 733 | }, |
@@ -819,7 +819,7 @@ export default class FranzMenu { | |||
819 | tpl[0].submenu = [ | 819 | tpl[0].submenu = [ |
820 | { | 820 | { |
821 | label: intl.formatMessage(menuItems.settings), | 821 | label: intl.formatMessage(menuItems.settings), |
822 | accelerator: `${cmdKey}+P`, | 822 | accelerator: `${settingsShortcutKey()}`, |
823 | click: () => { | 823 | click: () => { |
824 | this.actions.ui.openSettings({ path: 'app' }); | 824 | this.actions.ui.openSettings({ path: 'app' }); |
825 | }, | 825 | }, |