unique image tag

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-16 15:19:30 +08:00
parent ed66a4655b
commit 8a8aa6c1e0
5 changed files with 10 additions and 4 deletions

View File

@@ -108,6 +108,7 @@ class ImageGridView extends StatelessWidget {
PageUtils.imageView(
initialPage: index,
imgList: imgList,
tag: hashCode.toString(),
);
}
@@ -255,7 +256,7 @@ class ImageGridView extends StatelessWidget {
);
if (!item.isLongPic) {
child = Hero(
tag: item.url,
tag: '${item.url}$hashCode',
child: child,
);
}