Remove shell dependences. Remove unnecessary plugins. Remove unnecessary directives
This commit is contained in:
parent
a1159189ba
commit
e7d8421c4d
11 changed files with 1 additions and 190 deletions
|
|
@ -25,12 +25,6 @@ angular.module('copayApp.controllers').controller('ReceiveController',
|
|||
$scope.openAddressModal = function(address) {
|
||||
var ModalInstanceCtrl = function($scope, $modalInstance, address) {
|
||||
$scope.address = address;
|
||||
$scope.isMobile = !!window.cordova;
|
||||
|
||||
$scope.mobileCopy = function(address) {
|
||||
window.cordova.plugins.clipboard.copy(address);
|
||||
window.plugins.toast.showShortBottom('Copied to clipboard');
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue