Do not use paste to clipboard if there is a new address in the input

This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-24 15:24:16 -03:00
commit 83444bc890
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -150,9 +150,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
$scope.checkClipboard = function() {
getClipboard(function(value) {
$scope.newAddress = value;
});
if (!$scope.newAddress) {
getClipboard(function(value) {
$scope.newAddress = value;
});
}
};
$scope.beforeQrCodeScann = function() {