copy to clipboard

This commit is contained in:
Sebastiaan Pasma 2018-06-28 14:16:33 +02:00
commit 243f35c25d
3 changed files with 9 additions and 8 deletions

View file

@ -4,8 +4,6 @@ angular.module('copayApp.services').factory('clipboardService', function ($http,
var root = {};
root.copyToClipboard = function (data, scope) {
var msg = gettextCatalog.getString('Copied to clipboard');
if (!data) return;
if (platformInfo.isCordova) {
@ -19,9 +17,6 @@ angular.module('copayApp.services').factory('clipboardService', function ($http,
return;
}
scope.$apply(function () {
ionicToast.show(msg, 'bottom', false, 1000);
});
};
return root;