diff options
author | 2017-11-09 14:25:28 +0100 | |
---|---|---|
committer | 2017-11-09 14:25:28 +0100 | |
commit | 4cad9a21b3ddc2e9a736f17f32910e96c5e81d6e (patch) | |
tree | 9606844c390deb0ba6647d70fb60e09318a6a900 /src | |
parent | feat(Service): Add option to display disabled services in tabs (diff) | |
download | ferdium-app-4cad9a21b3ddc2e9a736f17f32910e96c5e81d6e.tar.gz ferdium-app-4cad9a21b3ddc2e9a736f17f32910e96c5e81d6e.tar.zst ferdium-app-4cad9a21b3ddc2e9a736f17f32910e96c5e81d6e.zip |
get default local from default app config
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index ecfd621d3..e9faad911 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -8,14 +8,14 @@ import AutoLaunch from 'auto-launch'; | |||
8 | 8 | ||
9 | import Store from './lib/Store'; | 9 | import Store from './lib/Store'; |
10 | import Request from './lib/Request'; | 10 | import Request from './lib/Request'; |
11 | import { CHECK_INTERVAL } from '../config'; | 11 | import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; |
12 | import { isMac } from '../environment'; | 12 | import { isMac } from '../environment'; |
13 | import locales from '../i18n/translations'; | 13 | import locales from '../i18n/translations'; |
14 | import { gaEvent } from '../lib/analytics'; | 14 | import { gaEvent } from '../lib/analytics'; |
15 | import Miner from '../lib/Miner'; | 15 | import Miner from '../lib/Miner'; |
16 | 16 | ||
17 | const { app, powerMonitor } = remote; | 17 | const { app, powerMonitor } = remote; |
18 | const defaultLocale = 'en-US'; | 18 | const defaultLocale = DEFAULT_APP_SETTINGS.locale; |
19 | const autoLauncher = new AutoLaunch({ | 19 | const autoLauncher = new AutoLaunch({ |
20 | name: 'Franz', | 20 | name: 'Franz', |
21 | }); | 21 | }); |