diff options
author | 2022-06-24 18:48:26 +0200 | |
---|---|---|
committer | 2022-06-24 17:48:26 +0100 | |
commit | dae00ac23978b58ff96b706a1ba1a8184faac3be (patch) | |
tree | 559a4c4203a5dc6dd6186b11bf49347ce3b5456f /src/features/todos/store.js | |
parent | Fix ribbon menu style on windows (Fix #343) (diff) | |
download | ferdium-app-dae00ac23978b58ff96b706a1ba1a8184faac3be.tar.gz ferdium-app-dae00ac23978b58ff96b706a1ba1a8184faac3be.tar.zst ferdium-app-dae00ac23978b58ff96b706a1ba1a8184faac3be.zip |
fix: disable todos feature by default (#355)
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r-- | src/features/todos/store.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 8c3917cc3..e5a26ae04 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -9,7 +9,7 @@ import { | |||
9 | DEFAULT_TODOS_WIDTH, | 9 | DEFAULT_TODOS_WIDTH, |
10 | TODOS_MIN_WIDTH, | 10 | TODOS_MIN_WIDTH, |
11 | DEFAULT_TODOS_VISIBLE, | 11 | DEFAULT_TODOS_VISIBLE, |
12 | DEFAULT_IS_FEATURE_ENABLED_BY_USER, | 12 | DEFAULT_IS_TODO_FEATURE_ENABLED_BY_USER, |
13 | } from '../../config'; | 13 | } from '../../config'; |
14 | import { isValidExternalURL } from '../../helpers/url-helpers'; | 14 | import { isValidExternalURL } from '../../helpers/url-helpers'; |
15 | import { FeatureStore } from '../utils/FeatureStore'; | 15 | import { FeatureStore } from '../utils/FeatureStore'; |
@@ -267,7 +267,7 @@ export default class TodoStore extends FeatureStore { | |||
267 | 267 | ||
268 | if (this.settings.isFeatureEnabledByUser === undefined) { | 268 | if (this.settings.isFeatureEnabledByUser === undefined) { |
269 | this._updateSettings({ | 269 | this._updateSettings({ |
270 | isFeatureEnabledByUser: DEFAULT_IS_FEATURE_ENABLED_BY_USER, | 270 | isFeatureEnabledByUser: DEFAULT_IS_TODO_FEATURE_ENABLED_BY_USER, |
271 | }); | 271 | }); |
272 | } | 272 | } |
273 | 273 | ||