Fixes note db state issue
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user