From 7050cf006d31b3ed13ef8a79a66e811c8f1d5920 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Tue, 16 Apr 2019 19:05:06 +0200 Subject: [PATCH] load first config from local storage if there is one --- src/actions/LocalStorageActions.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/actions/LocalStorageActions.js b/src/actions/LocalStorageActions.js index 2976e23c..7dc24d11 100644 --- a/src/actions/LocalStorageActions.js +++ b/src/actions/LocalStorageActions.js @@ -248,6 +248,14 @@ const loadStorageData = (): ThunkAction => (dispatch: Dispatch): void => { }); } + const hiddenCoins = getHiddenCoins(); + if (hiddenCoins) { + dispatch({ + type: WALLET.SET_HIDDEN_COINS, + hiddenCoins, + }); + } + const userTokens: ?string = storageUtils.get(TYPE, KEY_TOKENS); if (userTokens) { dispatch({