From bbefcd04389b11c4b0e2afd7b3fd43b72dc16d41 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Wed, 27 Nov 2024 11:58:36 +0530 Subject: [PATCH] [mob][photos] Chore --- mobile/lib/ui/viewer/people/person_clusters_page.dart | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mobile/lib/ui/viewer/people/person_clusters_page.dart b/mobile/lib/ui/viewer/people/person_clusters_page.dart index 09773c4291..1fbd46ca19 100644 --- a/mobile/lib/ui/viewer/people/person_clusters_page.dart +++ b/mobile/lib/ui/viewer/people/person_clusters_page.dart @@ -153,12 +153,10 @@ class _PersonClustersPageState extends State { class PersonClustersWidget extends StatefulWidget { final PersonEntity person; - final double? height; const PersonClustersWidget( this.person, { super.key, - this.height, }); @override @@ -194,11 +192,10 @@ class _PersonClustersWidgetState extends State { // Calculate expected height based on number of rows final int rowCount = (keys.length / crossAxisCount).ceil(); // Thumbnail height + text height + spacing - final double expectedHeight = - widget.height ?? (rowCount * (110 + 30 + 8)); + final double expectedHeight = (rowCount * (110 + 30 + 8)); return SizedBox( - height: expectedHeight, + height: expectedHeight + 500, child: GridView.builder( physics: const NeverScrollableScrollPhysics(), // Disable scrolling