Fixes note db state issue

This commit is contained in:
Mo Bitar
2020-03-20 23:40:23 -05:00
parent 0ef1ce8ef1
commit d76e03c70f
6 changed files with 125 additions and 85 deletions

View File

@@ -31,10 +31,6 @@ class FooterCtrl extends PureCtrl {
this.nativeExtManager = nativeExtManager;
this.statusManager = statusManager;
this.godService = godService;
this.state = {
hasPasscode: false
};
this.rooms = [];
this.themesWithIcons = [];
this.showSyncResolution = false;
@@ -46,6 +42,12 @@ class FooterCtrl extends PureCtrl {
});
}
getInitialState() {
return {
hasPasscode: false
};
}
reloadUpgradeStatus() {
this.godService.checkForSecurityUpdate().then((available) => {
this.setState({