mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-15 11:14:26 +00:00
fix content-content issue
This commit is contained in:
parent
9a8a5e0ddd
commit
aa751fc59c
@ -14,7 +14,7 @@
|
|||||||
[view st/chat-icon-container
|
[view st/chat-icon-container
|
||||||
[chat-icon-view-chat-list chat-id group-chat name color online]]
|
[chat-icon-view-chat-list chat-id group-chat name color online]]
|
||||||
[view st/item-container
|
[view st/item-container
|
||||||
[view st/name-view
|
#_[view st/name-view
|
||||||
[text {:style st/name-text} (truncate-str name 20)]
|
[text {:style st/name-text} (truncate-str name 20)]
|
||||||
(when group-chat
|
(when group-chat
|
||||||
[icon :group st/group-icon])
|
[icon :group st/group-icon])
|
||||||
@ -26,7 +26,10 @@
|
|||||||
[text {:style st/last-message-text
|
[text {:style st/last-message-text
|
||||||
:numberOfLines 2}
|
:numberOfLines 2}
|
||||||
(when last-message
|
(when last-message
|
||||||
(:content last-message))]]
|
(let [content (:content last-message)]
|
||||||
|
(if (string? content)
|
||||||
|
content
|
||||||
|
(:content content))))]]
|
||||||
[view
|
[view
|
||||||
(when last-message
|
(when last-message
|
||||||
[view st/status-container
|
[view st/status-container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user