diff options
author | 2019-10-09 09:48:41 +0200 | |
---|---|---|
committer | 2019-10-09 09:48:41 +0200 | |
commit | da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af (patch) | |
tree | a189f4566c6380b86aeb04b9307aea23fc6e14d7 /src/features/delayApp | |
parent | Update zh-HANT.json (diff) | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.tar.gz ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.tar.zst ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.zip |
Merge branch 'master' of https://github.com/meetfranz/franz into franz-5.4.0
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 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 { |