diff --git a/resources/images/icons2/12x12/Hold@2x.png b/resources/images/icons2/12x12/Hold@2x.png index 01ced75955..013e53befd 100644 Binary files a/resources/images/icons2/12x12/Hold@2x.png and b/resources/images/icons2/12x12/Hold@2x.png differ diff --git a/resources/images/icons2/12x12/Hold@3x.png b/resources/images/icons2/12x12/Hold@3x.png index 3ec13c1cfc..53aaffb426 100644 Binary files a/resources/images/icons2/12x12/Hold@3x.png and b/resources/images/icons2/12x12/Hold@3x.png differ diff --git a/src/quo2/components/tags/token_tag.cljs b/src/quo2/components/tags/token_tag.cljs index dc0c3c9777..2e1bf85435 100644 --- a/src/quo2/components/tags/token_tag.cljs +++ b/src/quo2/components/tags/token_tag.cljs @@ -3,7 +3,7 @@ [quo.react-native :as rn] [quo.theme :as theme] [quo2.components.markdown.text :as text] - [status-im.ui.components.icons.icons :as icons])) + [quo2.components.icon :as icons])) (def themes {:light {:background-color colors/neutral-20} :dark {:background-color colors/neutral-80}}) @@ -76,23 +76,19 @@ :or {size :small border-color (colors/custom-color-by-theme :purple 50 60)}}] - [tag {:size size + [tag {:size size :token-img-src token-img-src - :border-color (when is-required border-color) + :border-color (when is-required border-color) :overlay (when (or is-required is-purchasable) [rn/view {:style (merge icon-container-styles - {:width 15.5 - :height 15.5 - :background-color border-color - :border-color (if (= (theme/get-theme) :dark) colors/neutral-100 colors/white) - :border-width 1 - :right (get-value-from-size size -3.75 -5.75) - :bottom (get-value-from-size size (- 32 7.75 4) (- 24 7.75 2)) ; (- height (icon-height/2) spacing) - })} - [icons/icon (if is-required :main-icons2/required-checkmark12 :main-icons2/purchasable12) + {:background-color border-color + :border-color (if (= (theme/get-theme) :dark) colors/neutral-100 colors/white) + :border-width 1 + :right (get-value-from-size size -3.75 -5.75) + :bottom (get-value-from-size size (- 32 7.75 4) (- 24 7.75 2))})} + [icons/icon (if is-required :main-icons2/hold :main-icons2/add) {:no-color true - :width 13.5 - :height 13.5}]])} + :size 12}]])} (str value " " token)]))