mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-24 21:45:38 +00:00
mobile: show group member images in the chat (#473)
* mobile: show group member images in the chat * improve layout for group chat * android: show member images in group chat * do not repeat member name in group messages
This commit is contained in:
committed by
GitHub
parent
8768d03e57
commit
5e964cf7e9
@@ -253,8 +253,8 @@ msgPreview :: MsgContent -> [StyledString]
|
||||
msgPreview = msgPlain . preview . msgContentText
|
||||
where
|
||||
preview t
|
||||
| T.length t <= 60 = t
|
||||
| otherwise = t <> "..."
|
||||
| T.length t <= 120 = t
|
||||
| otherwise = T.take 120 t <> "..."
|
||||
|
||||
viewMsgIntegrityError :: MsgErrorType -> [StyledString]
|
||||
viewMsgIntegrityError err = msgError $ case err of
|
||||
|
||||
Reference in New Issue
Block a user