Fixed issue in chat bubble if more than 4 media files in single bubble

This commit is contained in:
Sylvain Berfini 2024-12-17 16:37:43 +01:00
parent 20fc177c7a
commit e664e1802c

View file

@ -434,7 +434,7 @@ class MessageModel
"$TAG Found file ready to be displayed [$path] with MIME [${content.type}/${content.subtype}] for message [${chatMessage.messageId}]"
)
val wrapBefore = allContentsAreMedia && filesContentCount == 3
val wrapBefore = allContentsAreMedia && exactly4Contents && filesContentCount == 3
val fileSize = content.fileSize.toLong()
val timestamp = content.creationTimestamp
val fileModel = FileModel(