[fix] last message preview
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
bd6583cb76
commit
c2b5523322
|
@ -46,8 +46,6 @@
|
||||||
[react/text {:style styles/last-message-text
|
[react/text {:style styles/last-message-text
|
||||||
:number-of-lines 1
|
:number-of-lines 1
|
||||||
:accessibility-label :chat-message-text}
|
:accessibility-label :chat-message-text}
|
||||||
#_(if-let [render-recipe (:render-recipe content)]
|
|
||||||
(chat.utils/render-chunks render-recipe message))
|
|
||||||
(:text content)]
|
(:text content)]
|
||||||
|
|
||||||
:else
|
:else
|
||||||
|
@ -112,8 +110,7 @@
|
||||||
[message-timestamp timestamp]]]
|
[message-timestamp timestamp]]]
|
||||||
[react/view styles/item-lower-container
|
[react/view styles/item-lower-container
|
||||||
(let [{:keys [tribute-status tribute-label]} (:tribute-to-talk contact)]
|
(let [{:keys [tribute-status tribute-label]} (:tribute-to-talk contact)]
|
||||||
(if (or group-chat
|
(if (not (#{:require :pending} tribute-status))
|
||||||
(#{:none :paid} tribute-status))
|
|
||||||
[message-content-text {:content last-message-content
|
[message-content-text {:content last-message-content
|
||||||
:content-type last-message-content-type}]
|
:content-type last-message-content-type}]
|
||||||
[react/text {:style styles/last-message-text} tribute-label]))
|
[react/text {:style styles/last-message-text} tribute-label]))
|
||||||
|
|
Loading…
Reference in New Issue