Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge branch 'main' into hierarchical_search

ashilknbdc80c8f9776
diff --cc mobile/lib/services/magic_cache_service.dart
index 91fe1acffb,410b813acc..7065baf49c
--- a/mobile/lib/services/magic_cache_service.dart
+++ b/mobile/lib/services/magic_cache_service.dart
@@@ -23,8 -21,8 +23,9 @@@ import "package:photos/service_locator.
import "package:photos/services/machine_learning/semantic_search/semantic_search_service.dart";
import "package:photos/services/remote_assets_service.dart";
import "package:photos/services/search_service.dart";
+ import "package:photos/services/user_remote_flag_service.dart";
import "package:photos/ui/viewer/search/result/magic_result_screen.dart";
+import "package:photos/utils/file_util.dart";
import "package:photos/utils/navigation_util.dart";
import "package:shared_preferences/shared_preferences.dart";
diff --cc mobile/lib/ui/settings/debug/ml_debug_section_widget.dart
index 5cd8dda2a7,098845c657..fd3213ca91
--- a/mobile/lib/ui/settings/debug/ml_debug_section_widget.dart
+++ b/mobile/lib/ui/settings/debug/ml_debug_section_widget.dart
@@@ -56,26 -58,8 +58,25 @@@ class _MLDebugSectionWidgetState extend
Widget _getSectionOptions(BuildContext context) {
final Logger logger = Logger("MLDebugSectionWidget");
- final colorScheme = getEnteColorScheme(context);
return Column(
children: [
+ MenuItemWidget(
+ captionedTextWidget: const CaptionedTextWidget(
+ title:
+ "Exclude files of face IDs that are not in any cluster on applying 'only them' filter.",
+ ),
+ trailingWidget: ToggleSwitchWidget(
+ value: () => localSettings
+ .excludeFilesOfFaceIDsThatAreNotInAnyClusterOnOnlyThemFilter,
+ onChanged: () async {
+ await localSettings
+ .setExcludeFilesOfFaceIDsThatAreNotInAnyClusterOnOnlyThemFilter(
+ !localSettings
+ .excludeFilesOfFaceIDsThatAreNotInAnyClusterOnOnlyThemFilter,
+ );
+ },
+ ),
+ ),
sectionOptionSpacing,
MenuItemWidget(
captionedTextWidget: FutureBuilder<IndexStatus>(