Skip to content

Commit

Permalink
Remove auto video advance
Browse files Browse the repository at this point in the history
  • Loading branch information
martyfuhry committed Feb 4, 2024
1 parent 372ac21 commit bbefe16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mobile/lib/modules/memories/views/memory_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
//}
//},
),
),
);
Expand Down

0 comments on commit bbefe16

Please sign in to comment.