1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-13 20:08:56 +00:00

dont stringify bool hideBalance in localStorage

This commit is contained in:
slowbackspace 2019-03-15 14:35:32 +01:00
parent 751c682f9a
commit f95ff68978

View File

@ -311,7 +311,7 @@ export const setLanguage = (): ThunkAction => (dispatch: Dispatch, getState: Get
export const setHideBalance = (): ThunkAction => (dispatch: Dispatch, getState: GetState): void => {
const { hideBalance } = getState().wallet;
storageUtils.set(TYPE, KEY_HIDE_BALANCE, JSON.stringify(hideBalance));
storageUtils.set(TYPE, KEY_HIDE_BALANCE, hideBalance);
};
export const setLocalCurrency = (): ThunkAction => (