[16166] The reaction are not matched to the designs into the 'who sent' bottom sheet (#16168)

This commit is contained in:
Ibrahem Khalil 2023-06-06 09:45:36 +03:00 committed by GitHub
parent 4978c08447
commit 74906cabb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,10 @@
:align-items :center
:justify-content :center})
(def tab-icon {:margin-right 4})
(def tab-icon
{:margin-right 4
:width 20
:height 20})
(defn tab-count
[active?]

View File

@ -9,7 +9,8 @@
[reagent.core :as reagent]
[status-im2.common.contact-list-item.view :as contact-list-item]
[status-im2.contexts.chat.messages.drawers.style :as style]
[react-native.gesture :as gesture]))
[react-native.gesture :as gesture]
[quo2.components.reactions.resource :as reactions.resource]))
(defn contact-list-item-fn
[{:keys [from compressed-key]}]
@ -33,10 +34,10 @@
{:id reaction-type-int
:accessibility-label (keyword (str "authors-for-reaction-" reaction-type-int))
:label [rn/view {:style style/tab}
[quo/icon
(get constants/reactions reaction-type-int)
{:no-color true
:container-style style/tab-icon}]
[rn/image
{:source (reactions.resource/get-reaction
(get constants/reactions reaction-type-int))
:style style/tab-icon}]
[quo/text
{:weight :medium
:size :paragraph-1