Ref delete wallet
This commit is contained in:
parent
4329bfca9a
commit
1d064d1ee1
3 changed files with 22 additions and 8 deletions
|
|
@ -53,12 +53,9 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWalletContro
|
|||
if (err) {
|
||||
self.error = err.message || err;
|
||||
} else {
|
||||
storageService.removeTxHistory(fc.credentials.walletId, function() {
|
||||
notification.success(gettextCatalog.getString('Success'), gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
|
||||
walletName: walletName
|
||||
}));
|
||||
return;
|
||||
});
|
||||
notification.success(gettextCatalog.getString('Success'), gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
|
||||
walletName: walletName
|
||||
}));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue