π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Added: Extra parameters to the photoViewGalleryPageOption widget
Muhammed Ayimend84eefa2ea29
diff --git a/lib/ui/viewer/file/zoomable_image.dart b/lib/ui/viewer/file/zoomable_image.dartindex e16fcfe02d..961e79dc54 100644--- a/lib/ui/viewer/file/zoomable_image.dart+++ b/lib/ui/viewer/file/zoomable_image.dart@@ -91,13 +91,19 @@ class _ZoomableImageState extends State<ZoomableImage>if (_imageProvider != null) {content = PhotoViewGallery.builder(+ gaplessPlayback: true,+ scaleStateChangedCallback: _scaleStateChangedCallback,+ backgroundDecoration: widget.backgroundDecoration as BoxDecoration?,builder: (context, index) {return PhotoViewGalleryPageOptions(imageProvider: _imageProvider!,- minScale: PhotoViewComputedScale.contained,+ minScale: widget.shouldCover+ ? PhotoViewComputedScale.covered+ : PhotoViewComputedScale.contained,heroAttributes: PhotoViewHeroAttributes(tag: widget.tagPrefix! + _photo.tag,),+ controller: _photoViewController,);},itemCount: 1,