feat(mobile): remove asset from album in gallery view (#11184)

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Fynn Petersen-Frey 2024-07-19 17:07:36 +02:00 committed by GitHub
parent a469fe44a1
commit 745b16e4b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 4 deletions

View file

@ -420,7 +420,7 @@ class GalleryViewerPage extends HookConsumerWidget {
showStack: showStack,
stackIndex: stackIndex.value,
asset: asset,
assetIndex: currentIndex.value,
assetIndex: currentIndex,
showVideoPlayerControls: !asset.isImage && !isMotionPhoto,
),
],