1
0
Fork 0
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:
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, 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);
} //}
}, //},
), ),
), ),
); );