From c70646bd5c6d40d7bbb2524b58f3943667dc1e19 Mon Sep 17 00:00:00 2001 From: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:56:42 +0530 Subject: [PATCH] [Fix] Scanned address not populated in send flow (#18727) This commit fixes the scanned address not pasted/populated in the "Send to" input field. --- Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> --- src/status_im/contexts/wallet/send/select_address/view.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/status_im/contexts/wallet/send/select_address/view.cljs b/src/status_im/contexts/wallet/send/select_address/view.cljs index 985de8b4cb..65279f7ae1 100644 --- a/src/status_im/contexts/wallet/send/select_address/view.cljs +++ b/src/status_im/contexts/wallet/send/select_address/view.cljs @@ -36,6 +36,7 @@ :on-blur #(reset! input-focused? false) :on-scan (fn [] (rn/dismiss-keyboard!) + (rf/dispatch [:wallet/clean-scanned-address]) (rf/dispatch [:open-modal :scan-address])) :ens-regex constants/regx-ens :scanned-value (or (when recipient-plain-address? send-address) scanned-address)