update local storage when a wallet is deleted

This commit is contained in:
Javier 2015-10-13 16:11:07 -03:00
commit 061ec1d1fd
2 changed files with 10 additions and 8 deletions

View file

@ -224,12 +224,9 @@ angular.module('copayApp.services')
storage.get('txsHistory-' + walletId, cb);
}
root.setTxHistoryFlag = function(value, walletId, cb) {
storage.set('txsHistoryFlag-' + walletId, value, cb);
root.removeTxHistory = function(walletId, cb) {
storage.remove('txsHistory-' + walletId, cb);
}
root.getTxHistoryFlag = function(walletId, cb) {
storage.get('txsHistoryFlag-' + walletId, cb);
}
return root;
});