diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-12-02 00:56:00 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-12-02 00:56:00 +0100 |
commit | 3b25c3feee139229cf4c590f3ce1bb99f3288bd2 (patch) | |
tree | b5333b2b8274a84f90d15da074e8e8ba4f9ee256 /src/features/delayApp/index.js | |
parent | Check if service is enabled before trying to reload (diff) | |
download | ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.tar.gz ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.tar.zst ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.zip |
Fix linting issues
Diffstat (limited to 'src/features/delayApp/index.js')
-rw-r--r-- | src/features/delayApp/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 92d2dcf6a..9ffa1d2fd 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -44,7 +44,7 @@ export default function init(stores) { | |||
44 | shownAfterLaunch = true; | 44 | shownAfterLaunch = true; |
45 | return; | 45 | return; |
46 | } | 46 | } |
47 | 47 | ||
48 | const diff = moment().diff(timeLastDelay); | 48 | const diff = moment().diff(timeLastDelay); |
49 | if ((stores.app.isFocused && diff >= config.delayOffset) || !shownAfterLaunch) { | 49 | if ((stores.app.isFocused && diff >= config.delayOffset) || !shownAfterLaunch) { |
50 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); | 50 | debug(`App will be delayed for ${config.delayDuration / 1000}s`); |