From b27f323dd726f716faa1bb713e5f68c0c3dbff41 Mon Sep 17 00:00:00 2001 From: Ajay Sivan Date: Fri, 16 Feb 2024 19:38:05 +0530 Subject: [PATCH] FIX: Addresses for permissions info button bg color (#18855) --- src/quo/components/drawers/drawer_top/view.cljs | 8 +++++--- .../actions/addresses_for_permissions/view.cljs | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/quo/components/drawers/drawer_top/view.cljs b/src/quo/components/drawers/drawer_top/view.cljs index cb0ca2b389b..8ccf64d65a8 100644 --- a/src/quo/components/drawers/drawer_top/view.cljs +++ b/src/quo/components/drawers/drawer_top/view.cljs @@ -137,7 +137,8 @@ :description description}])) (defn- right-icon - [{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon]}] + [{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon button-type] + :or {button-type :primary}}] (cond (= :info type) [icons/icon @@ -153,7 +154,7 @@ :on-press on-button-press :on-long-press on-button-long-press :disabled? button-disabled? - :type :primary + :type button-type :size 24 :icon-only? true} button-icon])) @@ -182,7 +183,7 @@ (defn- view-internal [{:keys [title title-icon type theme description blur? community-name community-logo button-icon - account-name emoji context-tag-type + account-name emoji context-tag-type button-type on-button-press on-button-long-press button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar @@ -221,6 +222,7 @@ [right-icon {:theme theme :type type + :button-type button-type :on-button-press on-button-press :on-button-long-press on-button-long-press :button-disabled? button-disabled? diff --git a/src/status_im/contexts/communities/actions/addresses_for_permissions/view.cljs b/src/status_im/contexts/communities/actions/addresses_for_permissions/view.cljs index 38bbeb2d736..c4450884004 100644 --- a/src/status_im/contexts/communities/actions/addresses_for_permissions/view.cljs +++ b/src/status_im/contexts/communities/actions/addresses_for_permissions/view.cljs @@ -69,6 +69,7 @@ :context-tag-type :community :community-name name :button-icon :i/info + :button-type :grey :on-button-press not-implemented/alert :community-logo (get-in images [:thumbnail :uri]) :customization-color color}]