Do not use paste to clipboard if there is a new address in the input
This commit is contained in:
parent
4aa4d9f769
commit
83444bc890
1 changed files with 5 additions and 3 deletions
|
|
@ -150,9 +150,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.checkClipboard = function() {
|
$scope.checkClipboard = function() {
|
||||||
getClipboard(function(value) {
|
if (!$scope.newAddress) {
|
||||||
$scope.newAddress = value;
|
getClipboard(function(value) {
|
||||||
});
|
$scope.newAddress = value;
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.beforeQrCodeScann = function() {
|
$scope.beforeQrCodeScann = function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue