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
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue