π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove individual section search from search page
laurenspriem2a87b6d3a102
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/albums_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/albums_section.dartindex a32b5c1c96..1d573c2132 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/albums_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/albums_section.dart@@ -109,7 +109,6 @@ class _AlbumsSectionState extends State<AlbumsSection> {SectionHeader(SectionType.album,hasMore: (_albumSearchResults.length >= kSearchSectionLimit - 1),- showSearch: true,),const SizedBox(height: 2),SizedBox(diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dartindex 0de50b579c..000fd52b1a 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart@@ -102,7 +102,6 @@ class _FileTypeSectionState extends State<FileTypeSection> {SectionType.fileTypesAndExtension,hasMore:(_fileTypesSearchResults.length >= kSearchSectionLimit - 1),- showSearch: true,),const SizedBox(height: 2),SizedBox(diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dartindex db9458c54b..ef3739b685 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart@@ -121,7 +121,6 @@ class _LocationsSectionState extends State<LocationsSection> {SectionType.location,hasMore:(_locationsSearchResults.length >= kSearchSectionLimit - 1),- showSearch: true,),const SizedBox(height: 2),SizedBox(diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/magic_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/magic_section.dartindex 4a37bd23c0..a527e5469d 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/magic_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/magic_section.dart@@ -102,7 +102,6 @@ class _MagicSectionState extends State<MagicSection> {SectionHeader(SectionType.magic,hasMore: (_magicSearchResults.length >= kSearchSectionLimit - 1),- showSearch: true,),const SizedBox(height: 2),SizedBox(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.dartindex 257313ca20..d3f4118d59 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@@ -14,7 +14,6 @@ import "package:photos/models/search/search_result.dart";import "package:photos/models/search/search_types.dart";import "package:photos/models/selected_people.dart";import "package:photos/theme/ente_theme.dart";-import "package:photos/ui/components/buttons/icon_button_widget.dart";import "package:photos/ui/settings/ml/machine_learning_settings_page.dart";import "package:photos/ui/viewer/file/no_thumbnail_widget.dart";import "package:photos/ui/viewer/file/thumbnail_widget.dart";@@ -108,33 +107,14 @@ class _PeopleSectionState extends State<PeopleSection> {style: textTheme.largeBold,),),- Row(- mainAxisSize: MainAxisSize.min,- children: [- if (shouldShowMore)- IconButtonWidget(- icon: Icons.search,- iconButtonType: IconButtonType.secondary,- iconColor: colorScheme.blurStrokePressed,- onTap: () {- routeToPage(- context,- const PeopleSectionAllPage(- startInSearchMode: true,- ),- );- },- ),- if (shouldShowMore)- Padding(- padding: const EdgeInsets.all(12),- child: Icon(- Icons.chevron_right_outlined,- color: colorScheme.blurStrokePressed,- ),- ),- ],- ),+ if (shouldShowMore)+ Padding(+ padding: const EdgeInsets.all(12),+ child: Icon(+ Icons.chevron_right_outlined,+ color: colorScheme.blurStrokePressed,+ ),+ ),],),const SizedBox(height: 2),