From 282aaf3da1b27af3a9aa2b4e8173ee3195c8cac5 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Wed, 29 May 2024 17:17:35 +0100 Subject: [PATCH 01/11] tweak(wallet-network-settings): update testnet label for optimism network --- .../contexts/settings/wallet/network_settings/view.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index a8cf9b06fee..5fbb46bda90 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -44,9 +44,7 @@ :data (map make-network-settings-item [{:details (:optimism networks) :testnet-mode? testnet-mode? - :testnet-label [quo/text - {:style style/testnet-not-available} - (i18n/label :t/testnet-not-available)]} + :testnet-label (i18n/label :t/sepolia-active)} {:details (:arbitrum networks) :testnet-mode? testnet-mode? :testnet-label (i18n/label :t/sepolia-active)}]) From 650b5631bbace839117a53de8ad21d02d8839248 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Wed, 29 May 2024 17:34:45 +0100 Subject: [PATCH 02/11] chore: feature-flag saved-addresses inside wallet settings --- .../contexts/settings/wallet/wallet_options/view.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/status_im/contexts/settings/wallet/wallet_options/view.cljs b/src/status_im/contexts/settings/wallet/wallet_options/view.cljs index cfb356185aa..af3b1cb2503 100644 --- a/src/status_im/contexts/settings/wallet/wallet_options/view.cljs +++ b/src/status_im/contexts/settings/wallet/wallet_options/view.cljs @@ -75,5 +75,7 @@ [quo/page-top {:title (i18n/label :t/wallet) :title-accessibility-label :wallet-settings-header}] - [basic-settings] + (when (or (ff/enabled? ::ff/settings.keypairs-and-accounts) + (ff/enabled? ::ff/settings.saved-addresses)) + [basic-settings]) [advanced-settings]])) From 9742c052fa3b872af754158868b66f21dce39faf Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Wed, 29 May 2024 17:36:18 +0100 Subject: [PATCH 03/11] chore: remove feature-flag for network-settings inside wallet settings --- .../settings/wallet/wallet_options/view.cljs | 13 ++++++------- src/status_im/feature_flags.cljs | 2 -- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/status_im/contexts/settings/wallet/wallet_options/view.cljs b/src/status_im/contexts/settings/wallet/wallet_options/view.cljs index af3b1cb2503..fe5a9b2db98 100644 --- a/src/status_im/contexts/settings/wallet/wallet_options/view.cljs +++ b/src/status_im/contexts/settings/wallet/wallet_options/view.cljs @@ -49,13 +49,12 @@ (defn advanced-settings [] - (when (ff/enabled? ::ff/settings.network-settings) - [quo/category - {:key :advanced-wallet-settings - :label (i18n/label :t/advanced) - :data (advanced-settings-options) - :blur? true - :list-type :settings}])) + [quo/category + {:key :advanced-wallet-settings + :label (i18n/label :t/advanced) + :data (advanced-settings-options) + :blur? true + :list-type :settings}]) (defn navigate-back [] diff --git a/src/status_im/feature_flags.cljs b/src/status_im/feature_flags.cljs index 5612e8f1063..fffdc8fd778 100644 --- a/src/status_im/feature_flags.cljs +++ b/src/status_im/feature_flags.cljs @@ -14,8 +14,6 @@ ::settings.wallet-settings (enabled-in-env? :FLAG_WALLET_SETTINGS_ENABLED) ::settings.keypairs-and-accounts (enabled-in-env? :FLAG_WALLET_SETTINGS_KEYPAIRS_AND_ACCOUNTS_ENABLED) - ::settings.network-settings (enabled-in-env? - :FLAG_WALLET_SETTINGS_NETWORK_SETTINGS_ENABLED) ::settings.saved-addresses (enabled-in-env? :FLAG_WALLET_SETTINGS_SAVED_ADDRESSES_ENABLED) ::shell.jump-to (enabled-in-env? :ENABLE_JUMP_TO) From 899add3dd61750f8a9ee32c4da0b90c64060647d Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Wed, 29 May 2024 17:36:44 +0100 Subject: [PATCH 04/11] chore: remove feature-flag for wallet-settings inside settings --- .../contexts/profile/settings/list_items.cljs | 14 ++++++-------- src/status_im/feature_flags.cljs | 1 - 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/status_im/contexts/profile/settings/list_items.cljs b/src/status_im/contexts/profile/settings/list_items.cljs index 35fe3b1d82d..8c298513e5b 100644 --- a/src/status_im/contexts/profile/settings/list_items.cljs +++ b/src/status_im/contexts/profile/settings/list_items.cljs @@ -1,7 +1,6 @@ (ns status-im.contexts.profile.settings.list-items (:require [status-im.common.not-implemented :as not-implemented] [status-im.config :as config] - [status-im.feature-flags :as ff] [utils.i18n :as i18n] [utils.re-frame :as rf])) @@ -35,13 +34,12 @@ :image :icon :blur? true :action :arrow} - {:title (i18n/label :t/wallet) - :on-press #(rf/dispatch [:navigate-to-within-stack [:screen/settings.wallet :screen/settings]]) - :image-props :i/wallet - :image :icon - :blur? true - :action :arrow - :feature-flag ::ff/settings.wallet-settings} + {:title (i18n/label :t/wallet) + :on-press #(rf/dispatch [:navigate-to-within-stack [:screen/settings.wallet :screen/settings]]) + :image-props :i/wallet + :image :icon + :blur? true + :action :arrow} (when config/show-not-implemented-features? {:title (i18n/label :t/dapps) :on-press not-implemented/alert diff --git a/src/status_im/feature_flags.cljs b/src/status_im/feature_flags.cljs index fffdc8fd778..c809f5443f0 100644 --- a/src/status_im/feature_flags.cljs +++ b/src/status_im/feature_flags.cljs @@ -11,7 +11,6 @@ (def ^:private initial-flags {::community.edit-account-selection (enabled-in-env? :FLAG_EDIT_ACCOUNT_SELECTION_ENABLED) - ::settings.wallet-settings (enabled-in-env? :FLAG_WALLET_SETTINGS_ENABLED) ::settings.keypairs-and-accounts (enabled-in-env? :FLAG_WALLET_SETTINGS_KEYPAIRS_AND_ACCOUNTS_ENABLED) ::settings.saved-addresses (enabled-in-env? From c8950698db7696874d2a7e812140ab77429f1316 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 09:43:14 +0100 Subject: [PATCH 05/11] tweak: adjust vertical spacing on wallet-network settings screen --- .../settings/wallet/network_settings/style.cljs | 5 ++++- .../settings/wallet/network_settings/view.cljs | 15 ++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/status_im/contexts/settings/wallet/network_settings/style.cljs b/src/status_im/contexts/settings/wallet/network_settings/style.cljs index 9193294fa9f..7460e93001a 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/style.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/style.cljs @@ -3,13 +3,16 @@ (def title-container {:padding-horizontal 20 - :margin-vertical 12}) + :padding-vertical 12}) (defn page-wrapper [inset-top] {:padding-top inset-top :flex 1}) +(def mainnet-settings + {:padding-vertical 8}) + (defn settings-container [inset-bottom] {:flex 1 diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index 5fbb46bda90..f793b5f07b5 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -28,13 +28,14 @@ (defn mainnet-settings [{:keys [networks testnet-mode?]}] [quo/category - {:key :mainnet-settings - :data [(make-network-settings-item - {:details (:mainnet networks) - :testnet-mode? testnet-mode? - :testnet-label (i18n/label :t/sepolia-active)})] - :blur? true - :list-type :settings}]) + {:key :mainnet-settings + :data [(make-network-settings-item + {:details (:mainnet networks) + :testnet-mode? testnet-mode? + :testnet-label (i18n/label :t/sepolia-active)})] + :blur? true + :list-type :settings + :container-style style/mainnet-settings}]) (defn layer-2-settings [{:keys [networks testnet-mode?]}] From 066f0cd99a6d78d4e7328a654b5f8bacc4237528 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 10:25:40 +0100 Subject: [PATCH 06/11] chore: update information-box component with shell theme --- src/quo/components/info/information_box/style.cljs | 13 +++++++++++++ src/quo/components/info/information_box/view.cljs | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/quo/components/info/information_box/style.cljs b/src/quo/components/info/information_box/style.cljs index 026e1f88981..4e258e59c70 100644 --- a/src/quo/components/info/information_box/style.cljs +++ b/src/quo/components/info/information_box/style.cljs @@ -28,6 +28,19 @@ :border colors/danger-50-opa-10 :icon colors/danger-50 :text colors/danger-50} + :close-button colors/white} + :shell {:default {:bg colors/white-opa-5 + :border colors/white-opa-10 + :icon colors/white-opa-70 + :text colors/white} + :informative {:bg colors/primary-50-opa-5 + :border colors/primary-50-opa-10 + :icon colors/primary-50 + :text colors/white} + :error {:bg colors/danger-50-opa-5 + :border colors/danger-50-opa-10 + :icon colors/danger-50 + :text colors/danger-50} :close-button colors/white}}) (defn get-color diff --git a/src/quo/components/info/information_box/view.cljs b/src/quo/components/info/information_box/view.cljs index 2ddae9693b4..dfacb333033 100644 --- a/src/quo/components/info/information_box/view.cljs +++ b/src/quo/components/info/information_box/view.cljs @@ -53,11 +53,11 @@ :button-label string :on-button-press function :on-close function" - [{:keys [type closed? icon style button-label + [{:keys [type closed? blur? icon style button-label on-button-press on-close no-icon-color? icon-size]} message] (when-not closed? - (let [theme (quo.theme/use-theme) + (let [theme (if blur? :shell (quo.theme/use-theme)) include-button? (not (string/blank? button-label))] [rn/view {:accessibility-label :information-box From 77144cb773a733c126eb15832ae93041db5ab8a7 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 10:33:11 +0100 Subject: [PATCH 07/11] tweak: add blur styling to testnet bottom-sheet --- .../network_settings/testnet_mode/view.cljs | 19 ++++++++++++------- .../wallet/network_settings/view.cljs | 14 ++++++++++---- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/status_im/contexts/settings/wallet/network_settings/testnet_mode/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/testnet_mode/view.cljs index 33bb888372f..e1008782fb1 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/testnet_mode/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/testnet_mode/view.cljs @@ -19,21 +19,24 @@ (rf/dispatch [:profile.settings/profile-update :test-networks-enabled? enable? {:on-success logout}])) (defn testnet-mode-confirm-change-sheet - [{:keys [title description on-confirm on-cancel]}] + [{:keys [title blur? description on-confirm on-cancel]}] (let [customization-color (rf/sub [:profile/customization-color])] [:<> [quo/drawer-top {:title title + :blur? blur? :container-style style/drawer-top}] [quo/text {:style style/description} description] [rn/view {:style style/info-box-container} [quo/information-box - {:type :default - :icon :i/info} + {:type :default + :blur? blur? + :icon :i/info} (i18n/label :t/change-testnet-mode-logout-info)]] [quo/bottom-actions {:container-style {:style style/bottom-actions-container} :actions :two-actions + :blur? blur? :button-one-label (i18n/label :t/confirm) :button-one-props {:accessibility-label :confirm-testnet-mode-change :on-press on-confirm @@ -41,22 +44,24 @@ :customization-color customization-color} :button-two-label (i18n/label :t/cancel) :button-two-props {:accessibility-label :cancel-testnet-mode-change - :type :dark-grey + :type :grey :on-press on-cancel}}]])) (defn view - [{:keys [enable?]}] + [{:keys [enable? blur?]}] (let [on-confirm (rn/use-callback #(on-confirm-change enable?) [enable?])] (if enable? [testnet-mode-confirm-change-sheet - {:title (i18n/label :t/turn-on-testnet-mode) + {:blur? blur? + :title (i18n/label :t/turn-on-testnet-mode) :description (i18n/label :t/testnet-mode-enable-description) :on-confirm on-confirm :on-cancel hide-bottom-sheet}] [testnet-mode-confirm-change-sheet - {:title (i18n/label :t/turn-off-testnet-mode) + {:blur? blur? + :title (i18n/label :t/turn-off-testnet-mode) :description (i18n/label :t/testnet-mode-disable-description) :on-confirm on-confirm :on-cancel hide-bottom-sheet}]))) diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index f793b5f07b5..ccff25536be 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -78,25 +78,31 @@ :list-type :settings}]) (defn on-change-testnet - [{:keys [enable? theme]}] + [{:keys [enable? blur? theme]}] (rf/dispatch [:show-bottom-sheet - {:content (fn [] [testnet/view {:enable? enable?}]) - :theme theme}])) + {:content (fn [] [testnet/view + {:enable? enable? + :blur? blur?}]) + :theme theme + :shell? blur?}])) (defn view [] - (let [insets (safe-area/get-insets) + (let [blur? true + insets (safe-area/get-insets) theme (quo.theme/use-theme) networks-by-name (rf/sub [:wallet/network-details-by-network-name]) testnet-mode? (rf/sub [:profile/test-networks-enabled?]) enable-testnet (rn/use-callback (fn [] (on-change-testnet {:theme theme + :blur? blur? :enable? true})) [theme]) disable-testnet (rn/use-callback (fn [] (on-change-testnet {:theme theme + :blur? blur? :enable? false})) [theme])] [quo/overlay From 0c1635d26db7eaf337437cfc8ef8ec539ff13022 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 10:52:41 +0100 Subject: [PATCH 08/11] fix: ensure testnet-mode toggle is consistent --- .../contexts/settings/wallet/network_settings/view.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index ccff25536be..ed07ff2a3b1 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -55,9 +55,9 @@ (defn testnet-mode-setting [{:keys [testnet-mode? on-enable on-disable]}] (let [on-change-testnet (rn/use-callback - (fn [active?] - (if active? (on-enable) (on-disable))) - [on-enable on-disable])] + (fn [] + (if-not testnet-mode? (on-enable) (on-disable))) + [testnet-mode? on-enable on-disable])] {:blur? true :title (i18n/label :t/testnet-mode) :action :selector From bf8b270ee06e852353583873628ec29c6b8049e7 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 13:27:22 +0100 Subject: [PATCH 09/11] tweak: implement blur background override for bottom-sheet --- src/quo/foundations/colors.cljs | 2 ++ src/status_im/common/bottom_sheet/style.cljs | 7 +++++-- src/status_im/common/bottom_sheet/view.cljs | 4 ++-- .../settings/wallet/network_settings/view.cljs | 12 +++++++----- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/quo/foundations/colors.cljs b/src/quo/foundations/colors.cljs index 2bf157a5975..8f848bc468e 100644 --- a/src/quo/foundations/colors.cljs +++ b/src/quo/foundations/colors.cljs @@ -141,6 +141,8 @@ (def neutral-95-opa-70-blur neutral-95-opa-70) (def neutral-100-opa-70-blur (if platform/android? neutral-100-opa-70 "#0D1014B3")) +(def bottom-sheet-background-blur (if platform/ios? "#ED9D1D0D" neutral-100-opa-90)) + ;;;;Black ;;Solid diff --git a/src/status_im/common/bottom_sheet/style.cljs b/src/status_im/common/bottom_sheet/style.cljs index 0f08b9401c5..a4e8cb7c7f1 100644 --- a/src/status_im/common/bottom_sheet/style.cljs +++ b/src/status_im/common/bottom_sheet/style.cljs @@ -23,9 +23,12 @@ :left 0 :right 0}) -(def shell-bg +(defn shell-bg + [blur-background] {:position :absolute - :background-color (if platform/ios? colors/white-opa-5 colors/neutral-100-opa-90) + :background-color (if blur-background + blur-background + (if platform/ios? colors/white-opa-5 colors/neutral-100-opa-90)) :left 0 :right 0 :top 0 diff --git a/src/status_im/common/bottom_sheet/view.cljs b/src/status_im/common/bottom_sheet/view.cljs index 905f1bcb5f2..f982b619de8 100644 --- a/src/status_im/common/bottom_sheet/view.cljs +++ b/src/status_im/common/bottom_sheet/view.cljs @@ -64,7 +64,7 @@ (defn view [{:keys [hide? insets]} {:keys [content selected-item padding-bottom-override border-radius on-close shell? - gradient-cover? customization-color hide-handle? blur-radius] + gradient-cover? customization-color hide-handle? blur-radius blur-background] :or {border-radius 12}}] (let [theme (quo.theme/use-theme) {window-height :height} (rn/get-window) @@ -134,7 +134,7 @@ (style/sheet {:max-height sheet-max-height}))} (when shell? [blur/ios-view - {:style style/shell-bg + {:style (style/shell-bg blur-background) :blur-radius (or blur-radius 20) :blur-amount 32 :blur-type :transparent diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index ed07ff2a3b1..3adc674ca8a 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -1,5 +1,6 @@ (ns status-im.contexts.settings.wallet.network-settings.view (:require [quo.core :as quo] + [quo.foundations.colors :as colors] [quo.foundations.resources :as resources] [quo.theme] [react-native.core :as rn] @@ -80,11 +81,12 @@ (defn on-change-testnet [{:keys [enable? blur? theme]}] (rf/dispatch [:show-bottom-sheet - {:content (fn [] [testnet/view - {:enable? enable? - :blur? blur?}]) - :theme theme - :shell? blur?}])) + {:content (fn [] [testnet/view + {:enable? enable? + :blur? blur?}]) + :theme theme + :shell? blur? + :blur-background colors/bottom-sheet-background-blur}])) (defn view [] From 33e9c183a1b84e104e604a33eaffa02e14efde6a Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 14:02:56 +0100 Subject: [PATCH 10/11] tweak: change the blur background color for the overlay component --- src/quo/components/overlay/style.cljs | 2 +- src/quo/foundations/colors.cljs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/quo/components/overlay/style.cljs b/src/quo/components/overlay/style.cljs index 471bbebe091..ed1e51214fe 100644 --- a/src/quo/components/overlay/style.cljs +++ b/src/quo/components/overlay/style.cljs @@ -4,7 +4,7 @@ (defn overlay-background [type] (let [background-color (case type - :shell colors/neutral-80-opa-80-blur + :shell colors/overlay-background-blur :drawer colors/neutral-100-opa-70-blur nil)] {:position :absolute diff --git a/src/quo/foundations/colors.cljs b/src/quo/foundations/colors.cljs index 8f848bc468e..4ba5ee0c4e8 100644 --- a/src/quo/foundations/colors.cljs +++ b/src/quo/foundations/colors.cljs @@ -141,6 +141,7 @@ (def neutral-95-opa-70-blur neutral-95-opa-70) (def neutral-100-opa-70-blur (if platform/android? neutral-100-opa-70 "#0D1014B3")) +(def overlay-background-blur (if platform/android? (alpha "#192438" 0.8) "#242830cc")) (def bottom-sheet-background-blur (if platform/ios? "#ED9D1D0D" neutral-100-opa-90)) ;;;;Black From f05889dd02c0820ffd18c6b943f78ef06785bb9e Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 4 Jun 2024 18:17:30 +0100 Subject: [PATCH 11/11] fix: adjust alignment between categories and labels --- src/quo/components/settings/category/style.cljs | 14 +++++++------- .../settings/wallet/network_settings/style.cljs | 3 --- .../settings/wallet/network_settings/view.cljs | 15 +++++++-------- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/src/quo/components/settings/category/style.cljs b/src/quo/components/settings/category/style.cljs index 73377f88073..ade6924d914 100644 --- a/src/quo/components/settings/category/style.cljs +++ b/src/quo/components/settings/category/style.cljs @@ -7,13 +7,12 @@ {:left 0 :right 0 :padding-horizontal 20 - :padding-top (when label 12) + :padding-top (if label 12 8) :padding-bottom 8}) (defn settings-items - [{:keys [label blur?]} theme] - {:margin-top (if label 12 4) - :border-radius 16 + [{:keys [blur?]} theme] + {:border-radius 16 :background-color (if blur? colors/white-opa-5 (colors/theme-colors colors/white colors/neutral-95 theme)) @@ -24,9 +23,10 @@ (defn label [{:keys [blur?]} theme] - {:color (if blur? - colors/white-opa-40 - (colors/theme-colors colors/neutral-50 colors/neutral-40 theme))}) + {:margin-bottom 12 + :color (if blur? + colors/white-opa-40 + (colors/theme-colors colors/neutral-50 colors/neutral-40 theme))}) (def reorder-items {:margin-top 12}) diff --git a/src/status_im/contexts/settings/wallet/network_settings/style.cljs b/src/status_im/contexts/settings/wallet/network_settings/style.cljs index 7460e93001a..85e7314b30a 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/style.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/style.cljs @@ -10,9 +10,6 @@ {:padding-top inset-top :flex 1}) -(def mainnet-settings - {:padding-vertical 8}) - (defn settings-container [inset-bottom] {:flex 1 diff --git a/src/status_im/contexts/settings/wallet/network_settings/view.cljs b/src/status_im/contexts/settings/wallet/network_settings/view.cljs index 3adc674ca8a..bbee8f92c16 100644 --- a/src/status_im/contexts/settings/wallet/network_settings/view.cljs +++ b/src/status_im/contexts/settings/wallet/network_settings/view.cljs @@ -29,14 +29,13 @@ (defn mainnet-settings [{:keys [networks testnet-mode?]}] [quo/category - {:key :mainnet-settings - :data [(make-network-settings-item - {:details (:mainnet networks) - :testnet-mode? testnet-mode? - :testnet-label (i18n/label :t/sepolia-active)})] - :blur? true - :list-type :settings - :container-style style/mainnet-settings}]) + {:key :mainnet-settings + :data [(make-network-settings-item + {:details (:mainnet networks) + :testnet-mode? testnet-mode? + :testnet-label (i18n/label :t/sepolia-active)})] + :blur? true + :list-type :settings}]) (defn layer-2-settings [{:keys [networks testnet-mode?]}]