diff options
author | 2017-11-03 21:58:12 +0100 | |
---|---|---|
committer | 2017-11-03 21:58:12 +0100 | |
commit | 7343d473cd44e8c5e800f39b9c6325053fbe5699 (patch) | |
tree | 8668b369b58e0686cdfb55089b48e298d35a8ba9 /src/lib/Menu.js | |
parent | Merge pull request #207 from meetfranz/feature/fix-autolaunch (diff) | |
download | ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.tar.gz ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.tar.zst ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.zip |
Reset linux shortcuts to Ctrl
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 6bbf302ca..9f62cc8c2 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -276,10 +276,9 @@ export default class FranzMenu { | |||
276 | const services = this.stores.services.enabled; | 276 | const services = this.stores.services.enabled; |
277 | 277 | ||
278 | if (this.stores.user.isLoggedIn) { | 278 | if (this.stores.user.isLoggedIn) { |
279 | const systemAcceleratorKey = isLinux ? 'Alt' : 'CmdOrCtrl'; | ||
280 | return services.map((service, i) => ({ | 279 | return services.map((service, i) => ({ |
281 | label: service.name, | 280 | label: service.name, |
282 | accelerator: i <= 9 ? `${systemAcceleratorKey}+${i + 1}` : null, | 281 | accelerator: i <= 9 ? `CmdOrCtrl+${i + 1}` : null, |
283 | type: 'radio', | 282 | type: 'radio', |
284 | checked: service.isActive, | 283 | checked: service.isActive, |
285 | click: () => { | 284 | click: () => { |