diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-12-02 23:57:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 04:27:13 +0530 |
commit | f64f1b3bd9bec4036748b98ff8ac0f0431749f30 (patch) | |
tree | 33691b4b02a546a7a1665ca29b18e3baa135c9ef /src/lib/Menu.js | |
parent | 5.6.4-nightly.22 [skip ci] (diff) | |
download | ferdium-app-f64f1b3bd9bec4036748b98ff8ac0f0431749f30.tar.gz ferdium-app-f64f1b3bd9bec4036748b98ff8ac0f0431749f30.tar.zst ferdium-app-f64f1b3bd9bec4036748b98ff8ac0f0431749f30.zip |
chore: upgrade commitlint and eslint-plugin-unicorn to latest (#2295)
- upgrade commitlint and eslint-plugin-unicorn dependencies
- update prepare-code script to run lint:fix instead of lint
- fix unicorn/no-await-expression-member lint issues
- various whitespace formatting fixes due to lint:fix
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 892b2ff3c..8e529d859 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -1,5 +1,11 @@ | |||
1 | import { clipboard } from 'electron'; | 1 | import { clipboard } from 'electron'; |
2 | import { app, Menu, dialog, systemPreferences, getCurrentWindow } from '@electron/remote'; | 2 | import { |
3 | app, | ||
4 | Menu, | ||
5 | dialog, | ||
6 | systemPreferences, | ||
7 | getCurrentWindow, | ||
8 | } from '@electron/remote'; | ||
3 | import { autorun, observable } from 'mobx'; | 9 | import { autorun, observable } from 'mobx'; |
4 | import { defineMessages } from 'react-intl'; | 10 | import { defineMessages } from 'react-intl'; |
5 | import { | 11 | import { |
@@ -950,7 +956,8 @@ class FranzMenu { | |||
950 | click: () => { | 956 | click: () => { |
951 | this.actions.service.setActive({ serviceId: service.id }); | 957 | this.actions.service.setActive({ serviceId: service.id }); |
952 | 958 | ||
953 | if (isMac && i === 0) { // feat(Mac): Open Window with Cmd+1 | 959 | if (isMac && i === 0) { |
960 | // feat(Mac): Open Window with Cmd+1 | ||
954 | getCurrentWindow().restore(); | 961 | getCurrentWindow().restore(); |
955 | } | 962 | } |
956 | }, | 963 | }, |