mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
extra smooth seeking, add comments
This commit is contained in:
@@ -292,6 +292,7 @@ class GalleryViewerPage extends HookConsumerWidget {
|
||||
}
|
||||
|
||||
PhotoViewGalleryPageOptions buildVideo(BuildContext context, Asset asset) {
|
||||
// This key is to prevent the video player from being re-initialized during the hero animation
|
||||
final key = GlobalKey();
|
||||
final tag = getHeroTag(asset);
|
||||
return PhotoViewGalleryPageOptions.customChild(
|
||||
|
||||
Reference in New Issue
Block a user