add resync to refresh button

This commit is contained in:
Matias Alejo Garcia 2014-08-28 16:37:34 -03:00
commit ad4ebfdc3c
3 changed files with 6 additions and 17 deletions

View file

@ -36,7 +36,7 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
$scope.refresh = function() {
var w = $rootScope.wallet;
w.connectToAll();
w.sendWalletReady();
if ($rootScope.addrInfos.length > 0) {
controllerUtils.updateBalance(function() {
$rootScope.$digest();