diff options
author | 2021-11-18 17:37:45 +0100 | |
---|---|---|
committer | 2021-11-18 22:07:45 +0530 | |
commit | b37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch) | |
tree | 0276e7c51f5ebfa14c566def7aac39f014c2291d /src/stores/AppStore.js | |
parent | Update github issues template [skip ci] (diff) | |
download | ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip |
chore: convert various files to TS (#2246)
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index d652276ea..5881e37a4 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -19,7 +19,7 @@ import Request from './lib/Request'; | |||
19 | import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; | 19 | import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; |
20 | import { isMac, electronVersion, osRelease } from '../environment'; | 20 | import { isMac, electronVersion, osRelease } from '../environment'; |
21 | import { ferdiVersion, userDataPath, ferdiLocale } from '../environment-remote'; | 21 | import { ferdiVersion, userDataPath, ferdiLocale } from '../environment-remote'; |
22 | import locales from '../i18n/translations'; | 22 | import { generatedTranslations } from '../i18n/translations'; |
23 | import { getLocale } from '../helpers/i18n-helpers'; | 23 | import { getLocale } from '../helpers/i18n-helpers'; |
24 | 24 | ||
25 | import { | 25 | import { |
@@ -42,6 +42,8 @@ const autoLauncher = new AutoLaunch({ | |||
42 | const CATALINA_NOTIFICATION_HACK_KEY = | 42 | const CATALINA_NOTIFICATION_HACK_KEY = |
43 | '_temp_askedForCatalinaNotificationPermissions'; | 43 | '_temp_askedForCatalinaNotificationPermissions'; |
44 | 44 | ||
45 | const locales = generatedTranslations(); | ||
46 | |||
45 | export default class AppStore extends Store { | 47 | export default class AppStore extends Store { |
46 | updateStatusTypes = { | 48 | updateStatusTypes = { |
47 | CHECKING: 'CHECKING', | 49 | CHECKING: 'CHECKING', |