diff options
author | 2019-10-17 20:41:58 +0200 | |
---|---|---|
committer | 2019-10-17 20:41:58 +0200 | |
commit | 9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387 (patch) | |
tree | 24b1fff38156572682f179d152a5dbd5b4dad8d8 /src | |
parent | fix icon size (diff) | |
download | ferdium-app-9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.tar.gz ferdium-app-9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.tar.zst ferdium-app-9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.zip |
test to reload app after resume
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/AppStore.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index ca5cad836..c38e84639 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -207,10 +207,7 @@ export default class AppStore extends Store { | |||
207 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment())) { | 207 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment())) { |
208 | debug('Reloading services, user info and features'); | 208 | debug('Reloading services, user info and features'); |
209 | 209 | ||
210 | this.actions.service.reloadAll(); | 210 | window.location.reload(); |
211 | |||
212 | this.stores.user.getUserInfoRequest.invalidate({ immediately: true }); | ||
213 | this.stores.features.featuresRequest.invalidate({ immediately: true }); | ||
214 | 211 | ||
215 | statsEvent('resumed-app'); | 212 | statsEvent('resumed-app'); |
216 | } | 213 | } |