1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 06:31:58 +00:00

Remove auto video advance

This commit is contained in:
Marty Fuhry 2024-02-04 16:19:16 -05:00
parent f14295e107
commit fa7745194a
No known key found for this signature in database
GPG key ID: E2AB6392D894D900

View file

@ -256,13 +256,13 @@ class MemoryPage extends HookConsumerWidget {
asset: asset,
title: memories[mIndex].title,
showTitle: index == 0,
onVideoEnded: () {
// If this is a live photo, don't go to
//onVideoEnded: () {
// 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
if (asset.livePhotoVideoId == null) {
toNextAsset(index);
}
},
//if (asset.livePhotoVideoId == null) {
//toNextAsset(index);
//}
//},
),
),
);