From 69c5d4f64554c8b142b5c5c3afb7534f7de634da Mon Sep 17 00:00:00 2001 From: ashilkn Date: Fri, 8 Mar 2024 14:57:32 +0530 Subject: [PATCH] Added comment for context of line --- mobile/lib/ui/viewer/file/zoomable_image.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/lib/ui/viewer/file/zoomable_image.dart b/mobile/lib/ui/viewer/file/zoomable_image.dart index c3d6a0c48..9b15d7997 100644 --- a/mobile/lib/ui/viewer/file/zoomable_image.dart +++ b/mobile/lib/ui/viewer/file/zoomable_image.dart @@ -279,6 +279,8 @@ class _ZoomableImageState extends State { initialPosition: currentPosition, initialScale: scale, ); + // Fix for auto-zooming when final image is loaded after double tapping + //twice. _scaleStateController.scaleState = PhotoViewScaleState.zoomedIn; } final bool canUpdateMetadata = _photo.canEditMetaInfo;