Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix People page being inaccessible with few recognized people

Neeraj Guptaf871be7bcba4
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
index 942fb47713..48c8e95d05 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
@@ -81,7 +81,7 @@ class _PeopleSectionState extends State<PeopleSection> {
@override
Widget build(BuildContext context) {
debugPrint("Building section for ${widget.sectionType.name}");
- final shouldShowMore = _examples.length >= widget.limit - 1;
+ final shouldShowMore = _examples.isNotEmpty;
final textTheme = getEnteTextTheme(context);
final colorScheme = getEnteColorScheme(context);
return _examples.isNotEmpty