Better attachment list

This commit is contained in:
2024-11-25 22:41:15 +08:00
parent 731ab97209
commit 41e2b08bcc
5 changed files with 203 additions and 109 deletions

View File

@ -66,7 +66,7 @@ class PostItem extends StatelessWidget {
AttachmentList(
data: data.preload!.attachments!,
bordered: true,
maxHeight: 520,
maxHeight: 480,
listPadding: const EdgeInsets.symmetric(horizontal: 12),
),
Container(

View File

@ -92,7 +92,7 @@ class PostMediaPendingList extends StatelessWidget {
icon: Symbols.preview,
onSelected: () {
context.pushTransparentRoute(
AttachmentDetailPopup(data: media.attachment!),
AttachmentZoomView(data: [media.attachment!]),
rootNavigator: true,
);
},