a bit of cleanup, better naming of the app cache

This commit is contained in:
or-else
2021-05-08 18:01:14 -07:00
parent 62259ab331
commit aa8d60cc1d
14 changed files with 428 additions and 418 deletions
+2 -2
View File
@@ -324,8 +324,8 @@ class TinodeWeb extends React.Component {
this.checkForAppUpdate(reg);
this.fbPush.useServiceWorker(reg);
reg.active.postMessage(JSON.stringify({locale: locale, version: PACKAGE_VERSION}));
// Google could not be bothered to mention that
// onTokenRefresh is never called.
// Google could not be bothered to mention that onTokenRefresh is never called.
this.fbPush.onTokenRefresh(() => {
this.requestPushToken();
});