scrolling refactor - copy backup phrase
This commit is contained in:
parent
fc52a8cf87
commit
c0e70eb686
6 changed files with 15 additions and 5 deletions
|
|
@ -18,6 +18,8 @@ angular.module('copayApp.directives')
|
|||
var msg = gettextCatalog.getString('Copied to clipboard');
|
||||
elem.bind('click', function() {
|
||||
var data = scope.copyToClipboard;
|
||||
if (!data) return;
|
||||
|
||||
if (isCordova) {
|
||||
window.cordova.plugins.clipboard.copy(data);
|
||||
window.plugins.toast.showShortCenter(msg);
|
||||
|
|
@ -36,4 +38,3 @@ angular.module('copayApp.directives')
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue