push notifications service addapted to bws
This commit is contained in:
parent
50ffb0af23
commit
425d8ffb33
4 changed files with 44 additions and 37 deletions
|
|
@ -304,6 +304,8 @@ angular.module('copayApp.services')
|
|||
root.deleteWalletFC = function(opts, cb) {
|
||||
var fc = root.focusedClient;
|
||||
var walletId = fc.credentials.walletId;
|
||||
|
||||
$rootScope.$emit('Local/UnsubscribeNotifications');
|
||||
$log.debug('Deleting Wallet:', fc.credentials.walletName);
|
||||
|
||||
fc.removeAllListeners();
|
||||
|
|
@ -326,8 +328,6 @@ angular.module('copayApp.services')
|
|||
if (err) $log.warn(err);
|
||||
});
|
||||
|
||||
$rootScope.$emit('Local/UnsubscribeNotifications', walletId);
|
||||
|
||||
$timeout(function() {
|
||||
root.setWalletClients();
|
||||
root.setAndStoreFocus(null, function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue