From 9fbb51fd39532e770ea56c634784372dd86c8e1d Mon Sep 17 00:00:00 2001 From: slowbackspace Date: Wed, 13 Mar 2019 14:34:49 +0100 Subject: [PATCH] fix clear button --- src/actions/ethereum/SendFormActions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/actions/ethereum/SendFormActions.js b/src/actions/ethereum/SendFormActions.js index 417513b7..ad1c3f0e 100644 --- a/src/actions/ethereum/SendFormActions.js +++ b/src/actions/ethereum/SendFormActions.js @@ -205,6 +205,9 @@ export const onClear = (): AsyncAction => async ( initialState.selectedFeeLevel ); + // initial local currency is set according to wallet settings + const { localCurrency } = getState().wallet; + dispatch({ type: SEND.CLEAR, networkType: 'ethereum', @@ -213,6 +216,7 @@ export const onClear = (): AsyncAction => async ( networkName: network.shortcut, networkSymbol: network.symbol, currency: network.symbol, + localCurrency, feeLevels, selectedFeeLevel, recommendedGasPrice: gasPrice.toString(),