aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/delayApp/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r--src/features/delayApp/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js
index c0029873a..bd0395376 100644
--- a/src/features/delayApp/index.js
+++ b/src/features/delayApp/index.js
@@ -60,12 +60,12 @@ export default function init(stores) {
60 gaPage('/delayApp'); 60 gaPage('/delayApp');
61 gaEvent('DelayApp', 'show', 'Delay App Feature'); 61 gaEvent('DelayApp', 'show', 'Delay App Feature');
62 62
63 timeLastDelay = moment();
64 shownAfterLaunch = true;
65 63
66 setTimeout(() => { 64 setTimeout(() => {
67 debug('Resetting app delay'); 65 debug('Resetting app delay');
68 66
67 shownAfterLaunch = true;
68 timeLastDelay = moment();
69 setVisibility(false); 69 setVisibility(false);
70 }, config.delayDuration + 1000); // timer needs to be able to hit 0 70 }, config.delayDuration + 1000); // timer needs to be able to hit 0
71 } else { 71 } else {