From 901dddc60303083081b21132a1d2998d1bb063d5 Mon Sep 17 00:00:00 2001 From: Jamie Caprani Date: Wed, 5 Jun 2024 12:27:52 +0200 Subject: [PATCH] chore(wallet): hide network preferences in watched and make multichain tab first on receive screen (#20180) --- .../contexts/wallet/account/share_address/view.cljs | 2 +- .../add_address_to_watch/confirm_address/view.cljs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/status_im/contexts/wallet/account/share_address/view.cljs b/src/status_im/contexts/wallet/account/share_address/view.cljs index e055c79e1e..897d5badfb 100644 --- a/src/status_im/contexts/wallet/account/share_address/view.cljs +++ b/src/status_im/contexts/wallet/account/share_address/view.cljs @@ -50,7 +50,7 @@ (defn view [] (let [padding-top (:top (safe-area/get-insets)) - wallet-type (reagent/atom :legacy) + wallet-type (reagent/atom :multichain) selected-networks (reagent/atom constants/default-network-names) on-settings-press #(open-preferences selected-networks) on-legacy-press #(reset! wallet-type :legacy) diff --git a/src/status_im/contexts/wallet/add_account/add_address_to_watch/confirm_address/view.cljs b/src/status_im/contexts/wallet/add_account/add_address_to_watch/confirm_address/view.cljs index 2475aa87bc..859cf404ec 100644 --- a/src/status_im/contexts/wallet/add_account/add_address_to_watch/confirm_address/view.cljs +++ b/src/status_im/contexts/wallet/add_account/add_address_to_watch/confirm_address/view.cljs @@ -46,8 +46,6 @@ :public-key ""}])}} [quo/data-item {:card? true - :right-icon :i/advanced - :icon-right? true :emoji @account-emoji :title (i18n/label :t/watched-address) :subtitle address @@ -60,5 +58,4 @@ ;; https://github.com/status-im/status-mobile/issues/17009 :weight :monospace} address]) - :container-style style/data-item - :on-press #(js/alert "To be implemented")}]]]))) + :container-style style/data-item}]]])))