mirror of https://github.com/BTCPrivate/copay.git
Fix no-wallet home
This commit is contained in:
parent
2b49ebd33d
commit
2571935fab
|
@ -681,7 +681,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
});
|
||||
|
||||
var fc = profileService.focusedClient;
|
||||
if (!fc) return;
|
||||
// ToDo: use a credential's (or fc's) function for this
|
||||
this.hideNote = !fc.credentials.sharedEncryptingKey;
|
||||
};
|
||||
|
@ -1146,6 +1145,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
/* Start setup */
|
||||
|
||||
this.bindTouchDown();
|
||||
this.setAddress();
|
||||
this.setSendFormInputs();
|
||||
if (profileService.focusedClient) {
|
||||
this.setAddress();
|
||||
this.setSendFormInputs();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue