diff options
author | 2022-11-28 23:19:19 +0530 | |
---|---|---|
committer | 2022-11-28 23:21:35 +0530 | |
commit | dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722 (patch) | |
tree | d616402bb7fbac94ca6027b6bc40151d482b9f98 /src/containers/settings/EditSettingsScreen.tsx | |
parent | fix: ensure default values are working for the all fields in all settings scr... (diff) | |
download | ferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.tar.gz ferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.tar.zst ferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.zip |
Moved default service settings into different struct so as to de-pollute config on user's machine
Diffstat (limited to 'src/containers/settings/EditSettingsScreen.tsx')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/settings/EditSettingsScreen.tsx b/src/containers/settings/EditSettingsScreen.tsx index 5c82a7e34..fd99fd616 100644 --- a/src/containers/settings/EditSettingsScreen.tsx +++ b/src/containers/settings/EditSettingsScreen.tsx | |||
@@ -1165,9 +1165,9 @@ class EditSettingsScreen extends Component<EditSettingsScreenProps> { | |||
1165 | label: intl.formatMessage(messages.enableTodos), | 1165 | label: intl.formatMessage(messages.enableTodos), |
1166 | value: ifUndefined<boolean>( | 1166 | value: ifUndefined<boolean>( |
1167 | todos.settings.isFeatureEnabledByUser, | 1167 | todos.settings.isFeatureEnabledByUser, |
1168 | DEFAULT_APP_SETTINGS.isFeatureEnabledByUser, | 1168 | DEFAULT_APP_SETTINGS.isTodosFeatureEnabled, |
1169 | ), | 1169 | ), |
1170 | default: DEFAULT_APP_SETTINGS.isFeatureEnabledByUser, | 1170 | default: DEFAULT_APP_SETTINGS.isTodosFeatureEnabled, |
1171 | type: 'checkbox', | 1171 | type: 'checkbox', |
1172 | }; | 1172 | }; |
1173 | } | 1173 | } |