available address
This commit is contained in:
parent
2fc3a8e8fa
commit
2fbd075206
4 changed files with 21 additions and 32 deletions
|
|
@ -27,11 +27,7 @@ angular.module('copay.header').controller('HeaderController',
|
|||
$rootScope.$watch('wallet', function(wallet) {
|
||||
if (wallet) {
|
||||
controllerUtils.setSocketHandlers();
|
||||
$rootScope.wallet.getBalance(function(balance) {
|
||||
$rootScope.$apply(function() {
|
||||
$rootScope.totalBalance = balance;
|
||||
});
|
||||
});
|
||||
controllerUtils.updateBalance();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue