indexeddb cache kind of works but buggy and incomplete

This commit is contained in:
or-else
2021-01-21 20:17:24 -08:00
parent 92e3f15c01
commit 6f278f5bb5
7 changed files with 388 additions and 110 deletions
+1
View File
@@ -483,6 +483,7 @@ class TinodeWeb extends React.Component {
if (promise) {
promise.then((ctrl) => {
console.log("doLogin->then", ctrl);
if (ctrl.code >= 300 && ctrl.text === 'validate credentials') {
this.setState({loadSpinnerVisible: false});
if (cred) {