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 a80ea4c72..5cc6c9506 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -57,12 +57,12 @@ export default function init(stores) { | |||
57 | 57 | ||
58 | setVisibility(true); | 58 | setVisibility(true); |
59 | 59 | ||
60 | timeLastDelay = moment(); | ||
61 | shownAfterLaunch = true; | ||
62 | 60 | ||
63 | setTimeout(() => { | 61 | setTimeout(() => { |
64 | debug('Resetting app delay'); | 62 | debug('Resetting app delay'); |
65 | 63 | ||
64 | shownAfterLaunch = true; | ||
65 | timeLastDelay = moment(); | ||
66 | setVisibility(false); | 66 | setVisibility(false); |
67 | }, config.delayDuration + 1000); // timer needs to be able to hit 0 | 67 | }, config.delayDuration + 1000); // timer needs to be able to hit 0 |
68 | } else { | 68 | } else { |