From 4cad9a21b3ddc2e9a736f17f32910e96c5e81d6e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Thu, 9 Nov 2017 14:25:28 +0100 Subject: get default local from default app config --- src/stores/AppStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stores/AppStore.js') 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'; import Store from './lib/Store'; import Request from './lib/Request'; -import { CHECK_INTERVAL } from '../config'; +import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; import { isMac } from '../environment'; import locales from '../i18n/translations'; import { gaEvent } from '../lib/analytics'; import Miner from '../lib/Miner'; const { app, powerMonitor } = remote; -const defaultLocale = 'en-US'; +const defaultLocale = DEFAULT_APP_SETTINGS.locale; const autoLauncher = new AutoLaunch({ name: 'Franz', }); -- cgit v1.2.3-70-g09d2