π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix issue that was breaking the pull-down interaction
vishnukvmd23d46e203b62
diff --git a/lib/ui/viewer/file/zoomable_image.dart b/lib/ui/viewer/file/zoomable_image.dartindex 982c1d6f61..3487a1778f 100644--- a/lib/ui/viewer/file/zoomable_image.dart+++ b/lib/ui/viewer/file/zoomable_image.dart@@ -105,21 +105,19 @@ class _ZoomableImageState extends State<ZoomableImage>} else {content = const EnteLoadingWidget();}- final GestureDragUpdateCallback? verticalDragCallback = _isZooming- ? null- : (d) => {- if (!_isZooming)+ verticalDragCallback(d) => {+ if (!_isZooming)+ {+ if (d.delta.dy > dragSensitivity){- if (d.delta.dy > dragSensitivity)- {- {Navigator.of(context).pop()},- }- else if (d.delta.dy < (dragSensitivity * -1))- {- showDetailsSheet(context, widget.photo),- },+ {Navigator.of(context).pop()},+ }+ else if (d.delta.dy < (dragSensitivity * -1))+ {+ showDetailsSheet(context, widget.photo),},- };+ },+ };return GestureDetector(onVerticalDragUpdate: verticalDragCallback,