diff --git a/mobile/lib/pages/common/gallery_viewer.page.dart b/mobile/lib/pages/common/gallery_viewer.page.dart index 43ff43e573daa..7e47c1d087efc 100644 --- a/mobile/lib/pages/common/gallery_viewer.page.dart +++ b/mobile/lib/pages/common/gallery_viewer.page.dart @@ -286,7 +286,7 @@ class GalleryViewerPage extends HookConsumerWidget { body: Stack( children: [ PhotoViewGallery.builder( - key: ValueKey(isPlayingMotionVideo), + key: const ValueKey('gallery'), scaleStateChangedCallback: (state) { final asset = ref.read(currentAssetProvider); if (asset == null) {