Protocol upgrading WIP

This commit is contained in:
Mo Bitar
2020-03-15 18:29:01 -05:00
parent 5a6a41933a
commit 148e840757
15 changed files with 956 additions and 403 deletions

View File

@@ -68,7 +68,6 @@ class AccountMenuCtrl extends PureCtrl {
super.onAppLaunch();
this.setState(this.refreshedCredentialState());
this.loadHost();
this.checkForSecurityUpdate();
this.reloadAutoLockInterval();
this.loadBackupsAvailability();
}
@@ -106,13 +105,6 @@ class AccountMenuCtrl extends PureCtrl {
});
}
async checkForSecurityUpdate() {
const available = await this.godService.checkForSecurityUpdate();
this.setState({
securityUpdateAvailable: available
});
}
async loadBackupsAvailability() {
const hasUser = !isNullOrUndefined(this.application.getUser());
const hasPasscode = this.application.hasPasscode();
@@ -278,9 +270,9 @@ class AccountMenuCtrl extends PureCtrl {
}
}
openPasswordWizard(type) {
openPasswordWizard() {
this.close();
this.godService.presentPasswordWizard(type);
this.godService.presentPasswordWizard();
}
async openPrivilegesModal() {