One off fixes

This commit is contained in:
Mo Bitar
2020-02-12 23:22:37 -06:00
parent 2daef55827
commit 7a587a275d
6 changed files with 252 additions and 287 deletions

View File

@@ -50,10 +50,9 @@ class FooterCtrl extends PureCtrl {
onAppLaunch() {
super.onAppLaunch();
this.application.hasPasscode().then((value) => {
this.setState({
hasPasscode: value
});
const hasPasscode = this.application.hasPasscode();
this.setState({
hasPasscode: hasPasscode
});
this.godService.checkForSecurityUpdate().then((available) => {