π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
remove contact feature flag
AmanRajSinghMourya7e3d55ecd948
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dartindex d0c01f454f..1929f87d1c 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart@@ -11,8 +11,7 @@ import "package:photos/models/search/generic_search_result.dart";import "package:photos/models/search/recent_searches.dart";import "package:photos/models/search/search_constants.dart";import "package:photos/models/search/search_types.dart";-import "package:photos/service_locator.dart"- show flagService, isLocalGalleryMode;+import "package:photos/service_locator.dart" show isLocalGalleryMode;import "package:photos/services/search_service.dart";import "package:photos/theme/ente_theme.dart";import "package:photos/ui/common/loading_widget.dart";@@ -33,7 +32,7 @@ class _ContactsSectionLoaderState extends State<ContactsSectionLoader> {@overrideWidget build(BuildContext context) {- if (isLocalGalleryMode || !flagService.enableContact) {+ if (isLocalGalleryMode) {return const SizedBox.shrink();}_contactsFuture ??= SearchService.instance.getAllContactsSearchResults(diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dartindex cfe61e1fea..c382a5b9e9 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart@@ -117,8 +117,7 @@ class _AllSearchSectionsState extends State<AllSearchSections> {final sectionResultsByType = snapshot.data!.sectionResults;final hasAnySearchableFiles =snapshot.data!.hasAnySearchableFiles;- final shouldRenderContacts =- !isLocalGalleryMode && flagService.enableContact;+ final shouldRenderContacts = !isLocalGalleryMode;if (!hasAnySearchableFiles &§ionResultsByType.every((element) => element.isEmpty) &&!shouldRenderContacts) {