fix refresh button

This commit is contained in:
Manuel Araoz 2014-05-06 16:21:56 -03:00
commit 20b0b6e9c7

View file

@ -44,6 +44,7 @@ angular.module('copay.header').controller('HeaderController',
}; };
$scope.refresh = function() { $scope.refresh = function() {
var w = $rootScope.wallet;
controllerUtils.updateBalance(function() { controllerUtils.updateBalance(function() {
w.connectToAll(); w.connectToAll();
$rootScope.$digest(); $rootScope.$digest();