More copy and share for mobile
This commit is contained in:
parent
04fe842b61
commit
79db8cea2e
11 changed files with 69 additions and 26 deletions
|
|
@ -137,6 +137,13 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.copyText = function(text) {
|
||||
if (isCordova) {
|
||||
window.cordova.plugins.clipboard.copy(text);
|
||||
window.plugins.toast.showShortCenter('Copied to clipboard');
|
||||
}
|
||||
};
|
||||
|
||||
$scope.downloadWalletBackup = function() {
|
||||
backupService.walletDownload(w);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue