Change UI after balance change
This commit is contained in:
parent
dbe2766de3
commit
81f4c05f48
1 changed files with 4 additions and 0 deletions
|
|
@ -387,6 +387,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
console.log('totalBalanceSat: ' + totalBalanceSat + ', changed: ' + balanceChanged);
|
||||
if (balanceChanged) {
|
||||
$scope.wallet.status = status;
|
||||
$scope.wallets = profileService.getWallets();
|
||||
$timeout(function () {
|
||||
$scope.$apply();
|
||||
}, 10);
|
||||
$interval.cancel(balanceChecker);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue