Fix centering issue in photo gallery with hidden collectibles
This commit is contained in:
parent
7f786610a7
commit
5d7f14fd17
@ -213,7 +213,7 @@ class _PhotoGalleryState extends State<PhotoGallery> {
|
|||||||
_handleImageTapped(index);
|
_handleImageTapped(index);
|
||||||
},
|
},
|
||||||
child: _checkCollectibleIndex(index)
|
child: _checkCollectibleIndex(index)
|
||||||
? HiddenCollectible(widget.wonderType, index: 1, size: 100)
|
? Center(child: HiddenCollectible(widget.wonderType, index: 1, size: 100))
|
||||||
: ClipRRect(
|
: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user