mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix(mobile): show controls by default on motion photos (#25638)
fix: show controls by default on motion photos
This commit is contained in:
parent
e50579eefc
commit
84c3980844
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ class AssetViewer extends ConsumerStatefulWidget {
|
|||
if (asset.isVideo || asset.isMotionPhoto) {
|
||||
ref.read(videoPlaybackValueProvider.notifier).reset();
|
||||
ref.read(videoPlayerControlsProvider.notifier).pause();
|
||||
// Hide controls by default for videos and motion photos
|
||||
}
|
||||
// Hide controls by default for videos
|
||||
if (asset.isVideo) {
|
||||
ref.read(assetViewerProvider.notifier).setControls(false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue