summaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-18 17:37:45 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-18 22:07:45 +0530
commitb37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch)
tree0276e7c51f5ebfa14c566def7aac39f014c2291d /src/stores/AppStore.js
parentUpdate github issues template [skip ci] (diff)
downloadferdium-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.js4
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';
19import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; 19import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config';
20import { isMac, electronVersion, osRelease } from '../environment'; 20import { isMac, electronVersion, osRelease } from '../environment';
21import { ferdiVersion, userDataPath, ferdiLocale } from '../environment-remote'; 21import { ferdiVersion, userDataPath, ferdiLocale } from '../environment-remote';
22import locales from '../i18n/translations'; 22import { generatedTranslations } from '../i18n/translations';
23import { getLocale } from '../helpers/i18n-helpers'; 23import { getLocale } from '../helpers/i18n-helpers';
24 24
25import { 25import {
@@ -42,6 +42,8 @@ const autoLauncher = new AutoLaunch({
42const CATALINA_NOTIFICATION_HACK_KEY = 42const CATALINA_NOTIFICATION_HACK_KEY =
43 '_temp_askedForCatalinaNotificationPermissions'; 43 '_temp_askedForCatalinaNotificationPermissions';
44 44
45const locales = generatedTranslations();
46
45export default class AppStore extends Store { 47export default class AppStore extends Store {
46 updateStatusTypes = { 48 updateStatusTypes = {
47 CHECKING: 'CHECKING', 49 CHECKING: 'CHECKING',