mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
Remove auto video advance
This commit is contained in:
parent
f14295e107
commit
fa7745194a
1 changed files with 6 additions and 6 deletions
|
@ -256,13 +256,13 @@ class MemoryPage extends HookConsumerWidget {
|
||||||
asset: asset,
|
asset: asset,
|
||||||
title: memories[mIndex].title,
|
title: memories[mIndex].title,
|
||||||
showTitle: index == 0,
|
showTitle: index == 0,
|
||||||
onVideoEnded: () {
|
//onVideoEnded: () {
|
||||||
// If this is a live photo, don't go to
|
// TODO: At the end of the video, advance to the next asset automatically. If this is a live photo, don't go to
|
||||||
// next asset
|
// next asset
|
||||||
if (asset.livePhotoVideoId == null) {
|
//if (asset.livePhotoVideoId == null) {
|
||||||
toNextAsset(index);
|
//toNextAsset(index);
|
||||||
}
|
//}
|
||||||
},
|
//},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue