Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix flutter error

ashilkn3ff0356dd25c
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index 25ccdfc54e..79abb8de55 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -444,7 +444,9 @@ class GalleryState extends State<Gallery> {
@override
Widget build(BuildContext context) {
- if (groupHeaderExtent == null) return const SliverFillRemaining();
+ if (groupHeaderExtent == null) {
+ return const SizedBox.shrink();
+ }
_logger.info("Building Gallery ${widget.tagPrefix}");