diff options
Diffstat (limited to 'src/containers/settings/EditSettingsScreen.js')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index 76c525045..64f5b2e01 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -339,14 +339,12 @@ class EditSettingsScreen extends Component { | |||
339 | }, | 339 | }, |
340 | }); | 340 | }); |
341 | 341 | ||
342 | if (workspaces.isFeatureActive) { | 342 | const { keepAllWorkspacesLoaded } = workspaces.settings; |
343 | const { keepAllWorkspacesLoaded } = workspaces.settings; | 343 | if ( |
344 | if ( | 344 | Boolean(keepAllWorkspacesLoaded) !== |
345 | Boolean(keepAllWorkspacesLoaded) !== | 345 | Boolean(settingsData.keepAllWorkspacesLoaded) |
346 | Boolean(settingsData.keepAllWorkspacesLoaded) | 346 | ) { |
347 | ) { | 347 | workspaceActions.toggleKeepAllWorkspacesLoadedSetting(); |
348 | workspaceActions.toggleKeepAllWorkspacesLoadedSetting(); | ||
349 | } | ||
350 | } | 348 | } |
351 | 349 | ||
352 | if (todos.isFeatureActive) { | 350 | if (todos.isFeatureActive) { |
@@ -696,7 +694,7 @@ class EditSettingsScreen extends Component { | |||
696 | } | 694 | } |
697 | 695 | ||
698 | render() { | 696 | render() { |
699 | const { app, todos, workspaces, services } = this.props.stores; | 697 | const { app, services } = this.props.stores; |
700 | const { | 698 | const { |
701 | updateStatus, | 699 | updateStatus, |
702 | updateStatusTypes, | 700 | updateStatusTypes, |
@@ -721,8 +719,6 @@ class EditSettingsScreen extends Component { | |||
721 | getCacheSize={() => app.cacheSize} | 719 | getCacheSize={() => app.cacheSize} |
722 | isClearingAllCache={isClearingAllCache} | 720 | isClearingAllCache={isClearingAllCache} |
723 | onClearAllCache={clearAllCache} | 721 | onClearAllCache={clearAllCache} |
724 | isTodosEnabled={todos.isFeatureActive} | ||
725 | isWorkspaceEnabled={workspaces.isFeatureActive} | ||
726 | lockingFeatureEnabled={lockingFeatureEnabled} | 722 | lockingFeatureEnabled={lockingFeatureEnabled} |
727 | automaticUpdates={this.props.stores.settings.app.automaticUpdates} | 723 | automaticUpdates={this.props.stores.settings.app.automaticUpdates} |
728 | isDarkmodeEnabled={this.props.stores.settings.app.darkMode} | 724 | isDarkmodeEnabled={this.props.stores.settings.app.darkMode} |