diff options
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r-- | src/features/todos/store.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 429507927..abaec677f 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -20,7 +20,6 @@ import { FeatureStore } from '../utils/FeatureStore'; | |||
20 | import { createReactions } from '../../stores/lib/Reaction'; | 20 | import { createReactions } from '../../stores/lib/Reaction'; |
21 | import { createActionBindings } from '../utils/ActionBinding'; | 21 | import { createActionBindings } from '../utils/ActionBinding'; |
22 | import { IPC, TODOS_ROUTES } from './constants'; | 22 | import { IPC, TODOS_ROUTES } from './constants'; |
23 | import { state as delayAppState } from '../delayApp'; | ||
24 | import UserAgent from '../../models/UserAgent'; | 23 | import UserAgent from '../../models/UserAgent'; |
25 | 24 | ||
26 | const debug = require('debug')('Ferdi:feature:todos:store'); | 25 | const debug = require('debug')('Ferdi:feature:todos:store'); |
@@ -46,7 +45,7 @@ export default class TodoStore extends FeatureStore { | |||
46 | 45 | ||
47 | @computed get isTodosPanelForceHidden() { | 46 | @computed get isTodosPanelForceHidden() { |
48 | const { isAnnouncementShown } = this.stores.announcements; | 47 | const { isAnnouncementShown } = this.stores.announcements; |
49 | return delayAppState.isDelayAppScreenVisible || !this.isFeatureEnabledByUser || isAnnouncementShown; | 48 | return !this.isFeatureEnabledByUser || isAnnouncementShown; |
50 | } | 49 | } |
51 | 50 | ||
52 | @computed get isTodosPanelVisible() { | 51 | @computed get isTodosPanelVisible() { |