dont stringify bool hideBalance in localStorage

pull/454/head
slowbackspace 5 years ago
parent 751c682f9a
commit f95ff68978

@ -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 => (

Loading…
Cancel
Save