mirror of
https://github.com/status-im/status-react.git
synced 2025-02-17 13:28:04 +00:00
[16166] The reaction are not matched to the designs into the 'who sent' bottom sheet (#16168)
This commit is contained in:
parent
4978c08447
commit
74906cabb2
@ -6,7 +6,10 @@
|
|||||||
:align-items :center
|
:align-items :center
|
||||||
:justify-content :center})
|
:justify-content :center})
|
||||||
|
|
||||||
(def tab-icon {:margin-right 4})
|
(def tab-icon
|
||||||
|
{:margin-right 4
|
||||||
|
:width 20
|
||||||
|
:height 20})
|
||||||
|
|
||||||
(defn tab-count
|
(defn tab-count
|
||||||
[active?]
|
[active?]
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
[reagent.core :as reagent]
|
[reagent.core :as reagent]
|
||||||
[status-im2.common.contact-list-item.view :as contact-list-item]
|
[status-im2.common.contact-list-item.view :as contact-list-item]
|
||||||
[status-im2.contexts.chat.messages.drawers.style :as style]
|
[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
|
(defn contact-list-item-fn
|
||||||
[{:keys [from compressed-key]}]
|
[{:keys [from compressed-key]}]
|
||||||
@ -33,10 +34,10 @@
|
|||||||
{:id reaction-type-int
|
{:id reaction-type-int
|
||||||
:accessibility-label (keyword (str "authors-for-reaction-" reaction-type-int))
|
:accessibility-label (keyword (str "authors-for-reaction-" reaction-type-int))
|
||||||
:label [rn/view {:style style/tab}
|
:label [rn/view {:style style/tab}
|
||||||
[quo/icon
|
[rn/image
|
||||||
(get constants/reactions reaction-type-int)
|
{:source (reactions.resource/get-reaction
|
||||||
{:no-color true
|
(get constants/reactions reaction-type-int))
|
||||||
:container-style style/tab-icon}]
|
:style style/tab-icon}]
|
||||||
[quo/text
|
[quo/text
|
||||||
{:weight :medium
|
{:weight :medium
|
||||||
:size :paragraph-1
|
:size :paragraph-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user