π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Revert "Fix the pull down interaction within Image view (#1563)"
ashilkn28d0e5fee717
diff --git a/lib/ui/viewer/file/zoomable_image.dart b/lib/ui/viewer/file/zoomable_image.dartindex 5a1d47b291..65a0280843 100644--- a/lib/ui/viewer/file/zoomable_image.dart+++ b/lib/ui/viewer/file/zoomable_image.dart@@ -104,19 +104,21 @@ class _ZoomableImageState extends State<ZoomableImage>} else {content = const EnteLoadingWidget();}- verticalDragCallback(d) => {- if (!_isZooming)- {- if (d.delta.dy > dragSensitivity)+ final GestureDragUpdateCallback? verticalDragCallback = _isZooming+ ? null+ : (d) => {+ if (!_isZooming){- {Navigator.of(context).pop()},- }- else if (d.delta.dy < (dragSensitivity * -1))- {- showDetailsSheet(context, widget.photo),+ if (d.delta.dy > dragSensitivity)+ {+ {Navigator.of(context).pop()},+ }+ else if (d.delta.dy < (dragSensitivity * -1))+ {+ showDetailsSheet(context, widget.photo),+ },},- },- };+ };return GestureDetector(onVerticalDragUpdate: verticalDragCallback,diff --git a/pubspec.yaml b/pubspec.yamlindex 4a2767e4e2..2a361a29cd 100644--- a/pubspec.yaml+++ b/pubspec.yaml@@ -13,7 +13,6 @@ description: ente photos application# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.htmlversion: 0.8.59+579-environment:sdk: ">=3.0.0 <4.0.0"