From 284bfe60b7902644ac13b575571afeede082d26a Mon Sep 17 00:00:00 2001 From: Vishnu Mohandas Date: Sat, 18 Apr 2020 02:14:13 +0530 Subject: [PATCH] Set min scale for zoom --- lib/ui/detail_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ui/detail_page.dart b/lib/ui/detail_page.dart index be6af84f49..76892cf102 100644 --- a/lib/ui/detail_page.dart +++ b/lib/ui/detail_page.dart @@ -79,6 +79,7 @@ class _DetailPageState extends State { return PhotoView( imageProvider: image.image, scaleStateChangedCallback: scaleStateChangedCallback, + minScale: PhotoViewComputedScale.contained, ); } }