feat(mobile): enabled DCM (#17957)

* enable DCM in CI

* chore: up version

* chore: up version

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Andreas Tollkötter 2025-06-09 18:09:02 +02:00 committed by GitHub
parent 16f83c0aa9
commit b890440f6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 271 additions and 312 deletions

View file

@ -236,7 +236,7 @@ class GalleryViewerPage extends HookConsumerWidget {
});
});
PhotoViewGalleryPageOptions buildImage(BuildContext context, Asset asset) {
PhotoViewGalleryPageOptions buildImage(Asset asset) {
return PhotoViewGalleryPageOptions(
onDragStart: (_, details, __) {
localPosition.value = details.localPosition;
@ -312,7 +312,7 @@ class GalleryViewerPage extends HookConsumerWidget {
}
if (newAsset.isImage && !isPlayingMotionVideo) {
return buildImage(context, newAsset);
return buildImage(newAsset);
}
return buildVideo(context, newAsset);
}