Ref delete wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2015-11-06 16:54:25 -03:00
commit 1d064d1ee1
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 22 additions and 8 deletions

View file

@ -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
}));
}
});
};