Add refresh support for gallery page

This commit is contained in:
2024-06-02 10:35:17 +00:00
committed by GitHub
parent 606ddc6721
commit 6d0e7d747d
5 changed files with 38 additions and 7 deletions

View File

@@ -28,7 +28,11 @@ class GalleryBasicInfo extends StatelessWidget {
child: Container(
margin: const EdgeInsets.only(right: 8),
child: firstPage != null
? Thumbnail(firstPage!, fileId: fileId, gid: gMeta.gid)
? Thumbnail(firstPage!,
fileId: fileId,
gid: gMeta.gid,
key: Key(
"thumbnail${gMeta.gid}-${firstPage!.index}-$fileId"))
: Container(),
)),
Expanded(