This commit is contained in:
Mo Bitar
2020-02-09 16:46:12 -06:00
parent 1a87df0db8
commit 1497048c72
16 changed files with 307 additions and 210 deletions

View File

@@ -31,6 +31,9 @@ class FooterCtrl extends PureCtrl {
this.nativeExtManager = nativeExtManager;
this.statusManager = statusManager;
this.godService = godService;
this.state = {
hasPasscode: false
};
this.rooms = [];
this.themesWithIcons = [];
@@ -46,7 +49,9 @@ class FooterCtrl extends PureCtrl {
application.onUnlock(() => {
this.application.hasPasscode().then((value) => {
this.hasPasscode = value;
this.setState({
hasPasscode: value
});
});
this.godService.checkForSecurityUpdate().then((available) => {
@@ -234,7 +239,7 @@ class FooterCtrl extends PureCtrl {
}
lockApp() {
this.$rootScope.lockApplication();
this.application.lock();
}
refreshData() {