diff --git a/src/status_im/contexts/wallet/send/input_amount/component_spec.cljs b/src/status_im/contexts/wallet/send/input_amount/component_spec.cljs index 487dde3abe5b..5257d3e39fe9 100644 --- a/src/status_im/contexts/wallet/send/input_amount/component_spec.cljs +++ b/src/status_im/contexts/wallet/send/input_amount/component_spec.cljs @@ -64,9 +64,9 @@ :wallet/token-by-symbol {:symbol :eth :total-balance 100 :market-values-per-currency {:usd {:price 10}}} - :wallet/wallet-disabled-from-chain-ids [] - :wallet/wallet-from-values-by-chain {1 (money/bignumber "250")} - :wallet/wallet-to-values-by-chain {1 (money/bignumber "250")}}) + :wallet/wallet-send-disabled-from-chain-ids [] + :wallet/wallet-send-from-values-by-chain {1 (money/bignumber "250")} + :wallet/wallet-send-to-values-by-chain {1 (money/bignumber "250")}}) (h/describe "Send > input amount screen" (h/setup-restorable-re-frame) diff --git a/src/status_im/contexts/wallet/send/input_amount/view.cljs b/src/status_im/contexts/wallet/send/input_amount/view.cljs index 16855b385e08..77d4b82e8081 100644 --- a/src/status_im/contexts/wallet/send/input_amount/view.cljs +++ b/src/status_im/contexts/wallet/send/input_amount/view.cljs @@ -214,9 +214,9 @@ best-routes (when suggested-routes (or (:best suggested-routes) [])) route (rf/sub [:wallet/wallet-send-route]) to-address (rf/sub [:wallet/wallet-send-to-address]) - disabled-from-chain-ids (rf/sub [:wallet/wallet-disabled-from-chain-ids]) - from-values-by-chain (rf/sub [:wallet/wallet-from-values-by-chain]) - to-values-by-chain (rf/sub [:wallet/wallet-to-values-by-chain]) + disabled-from-chain-ids (rf/sub [:wallet/wallet-send-disabled-from-chain-ids]) + from-values-by-chain (rf/sub [:wallet/wallet-send-from-values-by-chain]) + to-values-by-chain (rf/sub [:wallet/wallet-send-to-values-by-chain]) on-confirm (or default-on-confirm handle-on-confirm) crypto-decimals (or default-crypto-decimals (utils/get-crypto-decimals-count token)) diff --git a/src/status_im/subs/wallet/wallet.cljs b/src/status_im/subs/wallet/wallet.cljs index 74b7cacca309..0adc39cf363c 100644 --- a/src/status_im/subs/wallet/wallet.cljs +++ b/src/status_im/subs/wallet/wallet.cljs @@ -101,17 +101,17 @@ :-> :amount) (rf/reg-sub - :wallet/wallet-disabled-from-chain-ids + :wallet/wallet-send-disabled-from-chain-ids :<- [:wallet/wallet-send] :-> :disabled-from-chain-ids) (rf/reg-sub - :wallet/wallet-from-values-by-chain + :wallet/wallet-send-from-values-by-chain :<- [:wallet/wallet-send] :-> :from-values-by-chain) (rf/reg-sub - :wallet/wallet-to-values-by-chain + :wallet/wallet-send-to-values-by-chain :<- [:wallet/wallet-send] :-> :to-values-by-chain)