Ref tab-receive. Fix UI standar alignment

This commit is contained in:
Gustavo Maximiliano Cortez 2017-05-23 15:58:25 -03:00
commit 6eedcd01a6
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 47 additions and 17 deletions

View file

@ -21,18 +21,18 @@ angular.module('copayApp.directives')
if (!data) return;
if (isCordova) {
window.plugins.socialsharing.share(data, null, null, null);
cordova.plugins.clipboard.copy(data);
} else if (isNW) {
nodeWebkitService.writeToClipboard(data);
scope.$apply(function() {
ionicToast.show(msg, 'bottom', false, 1000);
});
} else if (clipboard.supported) {
clipboard.copyText(data);
scope.$apply(function() {
ionicToast.show(msg, 'bottom', false, 1000);
});
} else {
// No supported
return;
}
scope.$apply(function() {
ionicToast.show(msg, 'bottom', false, 1000);
});
});
}
}