rename function

This commit is contained in:
Gabriel Bazán 2016-08-31 12:18:04 -03:00
commit e63b8cc1e2
2 changed files with 2 additions and 2 deletions

View file

@ -738,7 +738,7 @@ angular.module('copayApp.services')
}, 'createdOn']);
};
root.setHideBalanceFlag = function(walletId) {
root.toggleHideBalanceFlag = function(walletId, cb) {
root.wallet[walletId].balanceHidden = !root.wallet[walletId].balanceHidden;
storageService.setHideBalanceFlag(walletId, root.wallet[walletId].balanceHidden.toString(), cb);
}