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:
parent
f14295e107
commit
fa7745194a
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
//}
|
||||
//},
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue