From 5d7f14fd17038c8bdd3a75ce8cf3e6200728c54d Mon Sep 17 00:00:00 2001 From: Shawn Date: Fri, 3 Nov 2023 14:30:05 -0600 Subject: [PATCH] Fix centering issue in photo gallery with hidden collectibles --- lib/ui/screens/photo_gallery/photo_gallery.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/screens/photo_gallery/photo_gallery.dart b/lib/ui/screens/photo_gallery/photo_gallery.dart index f54f503c..1e31892f 100644 --- a/lib/ui/screens/photo_gallery/photo_gallery.dart +++ b/lib/ui/screens/photo_gallery/photo_gallery.dart @@ -213,7 +213,7 @@ class _PhotoGalleryState extends State { _handleImageTapped(index); }, child: _checkCollectibleIndex(index) - ? HiddenCollectible(widget.wonderType, index: 1, size: 100) + ? Center(child: HiddenCollectible(widget.wonderType, index: 1, size: 100)) : ClipRRect( borderRadius: BorderRadius.circular(8), child: SizedBox(