From 24f4c4a07e3e7ddbfea43e369ba791e693cb829f Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Tue, 16 Apr 2024 20:33:03 +0400 Subject: [PATCH] Remove watch-only accounts from bridging (#19569) Remove watch-only accounts from bridging (#19569) --- src/status_im/contexts/wallet/bridge/bridge_to/view.cljs | 3 ++- src/status_im/contexts/wallet/bridge/select_asset/view.cljs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status_im/contexts/wallet/bridge/bridge_to/view.cljs b/src/status_im/contexts/wallet/bridge/bridge_to/view.cljs index f318d28ace..d917b55c77 100644 --- a/src/status_im/contexts/wallet/bridge/bridge_to/view.cljs +++ b/src/status_im/contexts/wallet/bridge/bridge_to/view.cljs @@ -50,7 +50,8 @@ [account-switcher/view {:on-press #(rf/dispatch [:navigate-back]) :icon-name :i/arrow-left - :accessibility-label :top-bar}] + :accessibility-label :top-bar + :switcher-type :select-account}] [quo/page-top {:title bridge-to-title}] [rn/view style/content-container [bridge-token-component (assoc mainnet :network-name :t/mainnet) account-token]] diff --git a/src/status_im/contexts/wallet/bridge/select_asset/view.cljs b/src/status_im/contexts/wallet/bridge/select_asset/view.cljs index c9d433483b..2bf3431560 100644 --- a/src/status_im/contexts/wallet/bridge/select_asset/view.cljs +++ b/src/status_im/contexts/wallet/bridge/select_asset/view.cljs @@ -16,7 +16,8 @@ [rn/view {:style {:flex 1}} [account-switcher/view {:on-press #(rf/dispatch [:navigate-back]) - :accessibility-label :top-bar}] + :accessibility-label :top-bar + :switcher-type :select-account}] [quo/page-top {:title (i18n/label :t/bridge)}] [quo/input {:container-style style/input-container