diff options
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index a456195bf..6c7b586a5 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -8,11 +8,12 @@ import Store from './lib/Store'; | |||
8 | import Request from './lib/Request'; | 8 | import Request from './lib/Request'; |
9 | import CachedRequest from './lib/CachedRequest'; | 9 | import CachedRequest from './lib/CachedRequest'; |
10 | import { getLocale } from '../helpers/i18n-helpers'; | 10 | import { getLocale } from '../helpers/i18n-helpers'; |
11 | import { API } from '../environment'; | ||
11 | 12 | ||
12 | import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config'; | 13 | import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config'; |
13 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 14 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
14 | 15 | ||
15 | const debug = require('debug')('Franz:SettingsStore'); | 16 | const debug = require('debug')('Ferdi:SettingsStore'); |
16 | 17 | ||
17 | export default class SettingsStore extends Store { | 18 | export default class SettingsStore extends Store { |
18 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); | 19 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); |
@@ -147,6 +148,7 @@ export default class SettingsStore extends Store { | |||
147 | runInBackground: legacySettings.runInBackground, | 148 | runInBackground: legacySettings.runInBackground, |
148 | enableSystemTray: legacySettings.enableSystemTray, | 149 | enableSystemTray: legacySettings.enableSystemTray, |
149 | minimizeToSystemTray: legacySettings.minimizeToSystemTray, | 150 | minimizeToSystemTray: legacySettings.minimizeToSystemTray, |
151 | server: API, | ||
150 | isAppMuted: legacySettings.isAppMuted, | 152 | isAppMuted: legacySettings.isAppMuted, |
151 | enableGPUAcceleration: legacySettings.enableGPUAcceleration, | 153 | enableGPUAcceleration: legacySettings.enableGPUAcceleration, |
152 | showMessageBadgeWhenMuted: legacySettings.showMessageBadgeWhenMuted, | 154 | showMessageBadgeWhenMuted: legacySettings.showMessageBadgeWhenMuted, |