From 52def47fc854d6b0fec8442d555108c9e6ed66f3 Mon Sep 17 00:00:00 2001 From: franzap <_@franzap.com> Date: Thu, 18 Dec 2025 20:51:16 -0300 Subject: [PATCH] Gallery do not swipe down --- lib/widgets/screenshots_gallery.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/widgets/screenshots_gallery.dart b/lib/widgets/screenshots_gallery.dart index 74e79c2..147a7dc 100644 --- a/lib/widgets/screenshots_gallery.dart +++ b/lib/widgets/screenshots_gallery.dart @@ -86,7 +86,7 @@ class ScreenshotsGallery extends HookWidget { MultiImageProvider(imageProviders, initialIndex: initialIndex), onPageChanged: (page) {}, onViewerDismissed: (page) {}, - swipeDismissible: true, + swipeDismissible: false, doubleTapZoomable: true, immersive: false, useSafeArea: true, @@ -111,7 +111,11 @@ class _LocalShimmerEffect extends HookWidget { [controller], ); - const shimmerColors = [Color(0xFF2A2A2A), Color(0xFF3A3A3A), Color(0xFF2A2A2A)]; + const shimmerColors = [ + Color(0xFF2A2A2A), + Color(0xFF3A3A3A), + Color(0xFF2A2A2A), + ]; return AnimatedBuilder( animation: animation,