diff options
author | Amine Mouafik <amine@mouafik.fr> | 2020-03-11 04:36:02 +0100 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2020-03-11 04:36:02 +0100 |
commit | 063875d7395438ba6566327e0f26c7cda5fe5ba8 (patch) | |
tree | 7fff0347843a0376f7aee07eb34260c28c40808f /src/stores/AppStore.js | |
parent | Merge branch 'develop' (diff) | |
parent | 5.4.4-beta.3 (diff) | |
download | ferdium-app-063875d7395438ba6566327e0f26c7cda5fe5ba8.tar.gz ferdium-app-063875d7395438ba6566327e0f26c7cda5fe5ba8.tar.zst ferdium-app-063875d7395438ba6566327e0f26c7cda5fe5ba8.zip |
Merge branch 'develop'
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r-- | src/stores/AppStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 36e6efd4f..593bf341e 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -202,7 +202,7 @@ export default class AppStore extends Store { | |||
202 | powerMonitor.on('resume', () => { | 202 | powerMonitor.on('resume', () => { |
203 | debug('System resumed, last suspended on', this.timeSuspensionStart.toString()); | 203 | debug('System resumed, last suspended on', this.timeSuspensionStart.toString()); |
204 | 204 | ||
205 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment())) { | 205 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment()) && this.stores.settings.app.get('reloadAfterResume')) { |
206 | debug('Reloading services, user info and features'); | 206 | debug('Reloading services, user info and features'); |
207 | 207 | ||
208 | setTimeout(() => { | 208 | setTimeout(() => { |