mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Better fix to render all items in the gallery. Should be able to render mixed items.
This commit is contained in:
committed by
Benoit Marty
parent
e282212270
commit
a7e6d8af6e
-2
@@ -812,7 +812,6 @@ class MessagesFlowNode(
|
||||
mode = DateFormatterMode.Full,
|
||||
),
|
||||
initialIndex = galleryItemIndex,
|
||||
isAttachment = false,
|
||||
)
|
||||
val galleryItems = event.content.items.map { galleryItem ->
|
||||
GalleryItemData(
|
||||
@@ -845,7 +844,6 @@ class MessagesFlowNode(
|
||||
mode = DateFormatterMode.Full,
|
||||
),
|
||||
initialIndex = galleryItemIndex,
|
||||
isAttachment = true,
|
||||
)
|
||||
val galleryItems = event.content.attachments.map { attachment ->
|
||||
GalleryItemData(
|
||||
|
||||
Reference in New Issue
Block a user