diff options
author | 2019-10-08 19:46:50 +0200 | |
---|---|---|
committer | 2019-10-08 19:46:50 +0200 | |
commit | d3009b91b487627e5d510ac01d79c29c90c82053 (patch) | |
tree | 739eb684c3c227ca121df2df445ed352a32c8129 /src/features/delayApp | |
parent | Fix non-related issues (diff) | |
parent | remove external url event (diff) | |
download | ferdium-app-d3009b91b487627e5d510ac01d79c29c90c82053.tar.gz ferdium-app-d3009b91b487627e5d510ac01d79c29c90c82053.tar.zst ferdium-app-d3009b91b487627e5d510ac01d79c29c90c82053.zip |
Merge branch 'release/5.4.0-beta.3' into fix/only-load-workspace-related-services
Diffstat (limited to 'src/features/delayApp')
-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 { |