Copy address to clipboad on mobile
This commit is contained in:
parent
5bf0b93089
commit
7bc284c0fd
3 changed files with 13 additions and 3 deletions
|
|
@ -248,6 +248,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
}, 100);
|
||||
};
|
||||
|
||||
$scope.copyAddress = function(addr) {
|
||||
if (!addr) return;
|
||||
self.copyAddress(addr);
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
};
|
||||
|
|
@ -753,6 +758,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
return n.substring(0, 4);
|
||||
};
|
||||
|
||||
$scope.copyAddress = function(addr) {
|
||||
if (!addr) return;
|
||||
self.copyAddress(addr);
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue