mirror of
https://github.com/immich-app/immich.git
synced 2025-01-24 04:32:45 +01:00
fix(mobile): playing a live photo causes the gallery to redraw the wrong image (#15027)
Fixed an issue where playing a motion video caused the gallery to re-render on the wrong image. Co-authored-by: Tom graham <tomg@questps.com.au>
This commit is contained in:
parent
4d6d5537b7
commit
5111ceffac
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue