From 0fd7a4b581232a0828124a755f185b9ce37dad30 Mon Sep 17 00:00:00 2001 From: Ulises Manuel <90291778+ulisesmac@users.noreply.github.com> Date: Mon, 15 Jan 2024 20:42:05 -0600 Subject: [PATCH] Fix summary-tag style (#18474) --- src/quo/components/tags/summary_tag/style.cljs | 7 ++++++- src/quo/components/tags/summary_tag/view.cljs | 2 +- src/status_im/contexts/preview/quo/tags/summary_tag.cljs | 4 +--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/quo/components/tags/summary_tag/style.cljs b/src/quo/components/tags/summary_tag/style.cljs index e36da3d2d51..bd18f37e4d3 100644 --- a/src/quo/components/tags/summary_tag/style.cljs +++ b/src/quo/components/tags/summary_tag/style.cljs @@ -21,7 +21,12 @@ (def collectible-image {:width 24 :height 24 - :border-radius 10}) + :border-radius 8}) + +(def network + {:width 24 + :height 24 + :border-radius 12}) (def token-image {:border-radius 12}) diff --git a/src/quo/components/tags/summary_tag/view.cljs b/src/quo/components/tags/summary_tag/view.cljs index 43b947c385e..e26de4f8356 100644 --- a/src/quo/components/tags/summary_tag/view.cljs +++ b/src/quo/components/tags/summary_tag/view.cljs @@ -22,7 +22,7 @@ :network [rn/image {:source image-source - :style style/token-image}] + :style style/network}] :saved-address [wallet-user-avatar/wallet-user-avatar {:full-name label diff --git a/src/status_im/contexts/preview/quo/tags/summary_tag.cljs b/src/status_im/contexts/preview/quo/tags/summary_tag.cljs index c3d72fbee20..1d496667c51 100644 --- a/src/status_im/contexts/preview/quo/tags/summary_tag.cljs +++ b/src/status_im/contexts/preview/quo/tags/summary_tag.cljs @@ -55,9 +55,7 @@ (defn view [] - (let [state (reagent/atom - (merge {:type :token} - (data :token)))] + (let [state (reagent/atom (assoc (data :token) :type :token))] (fn [] [preview/preview-container {:state state