🐛 Fix attachment set thumbnail

This commit is contained in:
2024-12-28 18:16:59 +08:00
parent 2c7dc8c2ea
commit 1fca36293d
5 changed files with 34 additions and 9 deletions

View File

@ -99,7 +99,7 @@ class PostMediaPendingList extends StatelessWidget {
final attach = context.read<SnAttachmentProvider>();
final newAttach = await attach.updateOne(
attachments[idx].attachment!.id,
attachments[idx].attachment!,
thumbnailId: thumbnail.id,
);