mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #4321 from JDonadio/bug/cancel-invitation
Fix cancel invitation
This commit is contained in:
commit
408e41c0e2
|
@ -73,7 +73,9 @@ angular.module('copayApp.controllers').controller('copayersController',
|
|||
$timeout(function() {
|
||||
notification.success(
|
||||
gettextCatalog.getString('Success'),
|
||||
gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {walletName: walletName})
|
||||
gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
|
||||
walletName: walletName
|
||||
})
|
||||
);
|
||||
});
|
||||
}
|
||||
|
@ -87,7 +89,7 @@ angular.module('copayApp.controllers').controller('copayersController',
|
|||
delete_msg,
|
||||
function(buttonIndex) {
|
||||
if (buttonIndex == 1) {
|
||||
_deleteWallet();
|
||||
doDeleteWallet();
|
||||
}
|
||||
},
|
||||
confirm_msg, [accept_msg, cancel_msg]
|
||||
|
@ -109,7 +111,9 @@ angular.module('copayApp.controllers').controller('copayersController',
|
|||
if (isAndroid || isWP) {
|
||||
window.ignoreMobilePause = true;
|
||||
}
|
||||
var message = gettextCatalog.getString('Join my Copay wallet. Here is the invitation code: {{secret}} You can download Copay for your phone or desktop at https://copay.io', {secret: secret});
|
||||
var message = gettextCatalog.getString('Join my Copay wallet. Here is the invitation code: {{secret}} You can download Copay for your phone or desktop at https://copay.io', {
|
||||
secret: secret
|
||||
});
|
||||
window.plugins.socialsharing.share(message, gettextCatalog.getString('Invitation to share a Copay Wallet'), null, null);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue