aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r--src/features/todos/store.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js
index 010a029ff..d158ed480 100644
--- a/src/features/todos/store.js
+++ b/src/features/todos/store.js
@@ -23,8 +23,6 @@ const debug = require('debug')('Ferdi:feature:todos:store');
23export default class TodoStore extends FeatureStore { 23export default class TodoStore extends FeatureStore {
24 @observable stores = null; 24 @observable stores = null;
25 25
26 @observable isFeatureEnabled = false;
27
28 @observable isFeatureActive = false; 26 @observable isFeatureActive = false;
29 27
30 @observable webview = null; 28 @observable webview = null;
@@ -123,7 +121,6 @@ export default class TodoStore extends FeatureStore {
123 // REACTIONS 121 // REACTIONS
124 122
125 this._allReactions = createReactions([ 123 this._allReactions = createReactions([
126 this._setFeatureEnabledReaction,
127 this._updateTodosConfig, 124 this._updateTodosConfig,
128 this._firstLaunchReaction, 125 this._firstLaunchReaction,
129 this._routeCheckReaction, 126 this._routeCheckReaction,
@@ -262,12 +259,6 @@ export default class TodoStore extends FeatureStore {
262 259
263 // Reactions 260 // Reactions
264 261
265 _setFeatureEnabledReaction = () => {
266 const { isTodosEnabled } = this.stores.features.features;
267
268 this.isFeatureEnabled = isTodosEnabled;
269 };
270
271 _updateTodosConfig = () => { 262 _updateTodosConfig = () => {
272 // Resend the config if any part changes in Franz: 263 // Resend the config if any part changes in Franz:
273 this._onTodosClientInitialized(); 264 this._onTodosClientInitialized();