mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3915 from cmgustavo/bug/addressbook-paste-clipboard-01
Do not use paste to clipboard if there is a new address in the input
This commit is contained in:
commit
9ecbe53de6
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue