mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-07 06:40:54 +00:00
Merge pull request #465 from trezor/fix/hideBalance-bool
Fix/parse hideBalance from localStorage as a bool
This commit is contained in:
commit
5f037c769c
@ -286,7 +286,7 @@ const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => {
|
||||
|
||||
const hideBalance: ?boolean = storageUtils.get(TYPE, KEY_HIDE_BALANCE);
|
||||
if (hideBalance) {
|
||||
dispatch(WalletActions.setHideBalance(hideBalance));
|
||||
dispatch(WalletActions.setHideBalance(JSON.parse(hideBalance)));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user