fixed address validation

This commit is contained in:
Mario Colque 2014-05-07 11:21:30 -03:00
commit d2708a353d
2 changed files with 6 additions and 5 deletions

View file

@ -148,8 +148,9 @@ angular.module('copay.send').controller('SendController',
var str = (data.indexOf('bitcoin:') === 0) ? data.substring(8) : data;
console.log('QR code detected: ' + str);
$scope.address = str;
$scope.$digest();
$scope.$apply(function() {
$scope.address = str;
});
};
$scope.cancelScanner = function() {