Update balance of wallets
This commit is contained in:
parent
fbfbeaa54c
commit
212656130f
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
||||||
var w = $rootScope.iden.getWalletById(wid);
|
var w = $rootScope.iden.getWalletById(wid);
|
||||||
if (w && w.isReady()) {
|
if (w && w.isReady()) {
|
||||||
$scope.wallets.push(w);
|
$scope.wallets.push(w);
|
||||||
|
controllerUtils.updateBalance(w, function() {
|
||||||
|
$rootScope.$digest();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue