fix warning message on confirm view

This commit is contained in:
Javier 2016-10-26 11:20:57 -03:00
commit ba2d60cfe0

View file

@ -91,6 +91,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.insuffientFunds = true; $scope.insuffientFunds = true;
$log.warn('No wallet available to make the payment'); $log.warn('No wallet available to make the payment');
$timeout(function() {
$scope.$apply();
});
} }
} }
}); });
@ -102,7 +105,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$timeout(function() { $timeout(function() {
$scope.$apply(); $scope.$apply();
}, 100); });
}; };
$scope.$on('accepted', function(event) { $scope.$on('accepted', function(event) {