optimize address page and refresh UI calls.
This commit is contained in:
parent
710b2f48e3
commit
8836bdf86a
3 changed files with 3 additions and 6 deletions
|
|
@ -44,8 +44,8 @@ angular.module('copay.header').controller('HeaderController',
|
|||
|
||||
$scope.refresh = function() {
|
||||
var w = $rootScope.wallet;
|
||||
w.connectToAll();
|
||||
controllerUtils.updateBalance(function() {
|
||||
w.connectToAll();
|
||||
$rootScope.$digest();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue