Revert "Fix the pull down interaction within Image view (#1563)"

This reverts commit 0e26e15cb1, reversing
changes made to cd320d30dd.
This commit is contained in:
ashilkn 2024-02-16 17:23:44 +05:30
parent ea723f1183
commit 28d0e5fee7
2 changed files with 13 additions and 12 deletions

View file

@ -104,7 +104,9 @@ class _ZoomableImageState extends State<ZoomableImage>
} else {
content = const EnteLoadingWidget();
}
verticalDragCallback(d) => {
final GestureDragUpdateCallback? verticalDragCallback = _isZooming
? null
: (d) => {
if (!_isZooming)
{
if (d.delta.dy > dragSensitivity)

View file

@ -13,7 +13,6 @@ description: ente photos application
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.8.59+579
environment:
sdk: ">=3.0.0 <4.0.0"