New directive copy-to-clipboard multiplatform
This commit is contained in:
parent
8bcb332276
commit
0a047782bb
15 changed files with 66 additions and 68 deletions
|
|
@ -113,13 +113,6 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
|
|||
save('#202020');
|
||||
};
|
||||
|
||||
$scope.copyToClipboard = function(data) {
|
||||
if ($scope.isCordova) {
|
||||
window.cordova.plugins.clipboard.copy(data);
|
||||
window.plugins.toast.showShortCenter(gettextCatalog.getString('Copied to clipboard'));
|
||||
}
|
||||
};
|
||||
|
||||
$scope.scan = function() {
|
||||
walletService.startScan(wallet);
|
||||
$state.go('tabs.home');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue