diff options
author | 2019-09-27 14:24:58 +0200 | |
---|---|---|
committer | 2019-09-27 14:24:58 +0200 | |
commit | 71831ec74abc671275da8bfd37b8354b422c0b70 (patch) | |
tree | fd5a195a3f1cc55d9f51e339cec76ed060f7450d /src/lib | |
parent | feat(Todos): Allow todos to open links in browser (diff) | |
download | ferdium-app-71831ec74abc671275da8bfd37b8354b422c0b70.tar.gz ferdium-app-71831ec74abc671275da8bfd37b8354b422c0b70.tar.zst ferdium-app-71831ec74abc671275da8bfd37b8354b422c0b70.zip |
feat(Mac): Open Franz Window with `Cmd+1`
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index b72f0df96..e5ff4a841 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -867,6 +867,10 @@ export default class FranzMenu { | |||
867 | checked: service.isActive, | 867 | checked: service.isActive, |
868 | click: () => { | 868 | click: () => { |
869 | this.actions.service.setActive({ serviceId: service.id }); | 869 | this.actions.service.setActive({ serviceId: service.id }); |
870 | |||
871 | if (isMac && i === 0) { | ||
872 | app.mainWindow.restore(); | ||
873 | } | ||
870 | }, | 874 | }, |
871 | }))); | 875 | }))); |
872 | 876 | ||