diff options
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r-- | src/features/delayApp/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 28b079e6b..5b28fb7c8 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -67,12 +67,12 @@ export default function init(stores) { | |||
67 | gaPage('/delayApp'); | 67 | gaPage('/delayApp'); |
68 | gaEvent('DelayApp', 'show', 'Delay App Feature'); | 68 | gaEvent('DelayApp', 'show', 'Delay App Feature'); |
69 | 69 | ||
70 | timeLastDelay = moment(); | ||
71 | shownAfterLaunch = true; | ||
72 | 70 | ||
73 | setTimeout(() => { | 71 | setTimeout(() => { |
74 | debug('Resetting app delay'); | 72 | debug('Resetting app delay'); |
75 | 73 | ||
74 | shownAfterLaunch = true; | ||
75 | timeLastDelay = moment(); | ||
76 | setVisibility(false); | 76 | setVisibility(false); |
77 | }, config.delayDuration + 1000); // timer needs to be able to hit 0 | 77 | }, config.delayDuration + 1000); // timer needs to be able to hit 0 |
78 | } else { | 78 | } else { |