Render galleries with non-visual attachments as a list (#5932)

* Render galleries with non-visual attachments as a list

Adds GalleryListView (with GalleryDivider) for galleries containing a file or audio item, extracting the shared FileTypeIconView from FileRoomTimelineView. GalleryRoomTimelineView picks the list vs the grid via usesListLayout. Tapping to open the preview lands in a follow-up.

Co-authored-by: svetoslav.mitov <svetoslav.mitov@sportinno.com>

* pr suggestions

---------

Co-authored-by: svetoslav.mitov <svetoslav.mitov@sportinno.com>
This commit is contained in:
Mauro
2026-07-27 18:46:15 +02:00
committed by GitHub
parent a8c79fdd46
commit 4d7d61dae7
13 changed files with 266 additions and 22 deletions
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a04cfde76dda32e6b03de15287fba371469a9a976a276de1170be101e6a4b47
size 114825
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5af56b0ee13ff01980b521308e355dd2a97e3e544292c00d1d06e66ea7053a2f
size 115619
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:096ad88c39dac4de5ec8a07365abef703b0ec981081d5b99c58625cc7fb117d5
size 70447
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ab463160327c4900a4687c2373617f3ce8e1b56da316e50b5ae142a905046c8
size 71049
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0aef46856afe160305ec163ff9edd2abdc34f7bcbc0f5e3b9cd20227a501a79a
size 108840
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd673d411dbf04a146fc5889e3e98f11f2837ab8e59fe1238140d493621dbae2
size 121207
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:927bb7fd0f12f6817247b1f15c3c4fb27573120d280f2a0fd6a17170a7927bc2
size 62747
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6ca4d4e763aacdfc31d978c641072fd506c44d271b42a750659199bf2738962
size 71840