diff options
author | 2021-08-08 13:42:22 +0530 | |
---|---|---|
committer | 2021-08-08 12:27:14 +0000 | |
commit | 452d63df53570e533621c6298d6e42f768a1502b (patch) | |
tree | 384970b0b2ae20eaf6c7bac2ef2c9f5b20f892ec /src/containers | |
parent | refactor: reuse method that was previously defined. (diff) | |
download | ferdium-app-452d63df53570e533621c6298d6e42f768a1502b.tar.gz ferdium-app-452d63df53570e533621c6298d6e42f768a1502b.tar.zst ferdium-app-452d63df53570e533621c6298d6e42f768a1502b.zip |
refactor: remove unused setting, add debug stmt.
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index e0a648095..0d718489a 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -26,6 +26,8 @@ import globalMessages from '../../i18n/globalMessages'; | |||
26 | import WorkspacesStore from '../../features/workspaces/store'; | 26 | import WorkspacesStore from '../../features/workspaces/store'; |
27 | import ServicesStore from '../../stores/ServicesStore'; | 27 | import ServicesStore from '../../stores/ServicesStore'; |
28 | 28 | ||
29 | const debug = require('debug')('Ferdi:EditSettingsScreen'); | ||
30 | |||
29 | const messages = defineMessages({ | 31 | const messages = defineMessages({ |
30 | autoLaunchOnStart: { | 32 | autoLaunchOnStart: { |
31 | id: 'settings.app.form.autoLaunchOnStart', | 33 | id: 'settings.app.form.autoLaunchOnStart', |
@@ -241,6 +243,8 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
241 | openInBackground: settingsData.autoLaunchInBackground, | 243 | openInBackground: settingsData.autoLaunchInBackground, |
242 | }); | 244 | }); |
243 | 245 | ||
246 | debug(`Updating settings store with data: ${settingsData}`); | ||
247 | |||
244 | settings.update({ | 248 | settings.update({ |
245 | type: 'app', | 249 | type: 'app', |
246 | data: { | 250 | data: { |
@@ -256,7 +260,6 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
256 | navigationBarBehaviour: settingsData.navigationBarBehaviour, | 260 | navigationBarBehaviour: settingsData.navigationBarBehaviour, |
257 | searchEngine: settingsData.searchEngine, | 261 | searchEngine: settingsData.searchEngine, |
258 | sentry: settingsData.sentry, | 262 | sentry: settingsData.sentry, |
259 | hibernate: settingsData.hibernate, | ||
260 | hibernateOnStartup: settingsData.hibernateOnStartup, | 263 | hibernateOnStartup: settingsData.hibernateOnStartup, |
261 | hibernationStrategy: settingsData.hibernationStrategy, | 264 | hibernationStrategy: settingsData.hibernationStrategy, |
262 | wakeUpStrategy: settingsData.wakeUpStrategy, | 265 | wakeUpStrategy: settingsData.wakeUpStrategy, |