Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Disable global ml flag

Neeraj Gupta58dee0ef5ae3
diff --git a/mobile/lib/ui/settings/machine_learning_settings_page.dart b/mobile/lib/ui/settings/machine_learning_settings_page.dart
index 1deead85b0..89a074ea5b 100644
--- a/mobile/lib/ui/settings/machine_learning_settings_page.dart
+++ b/mobile/lib/ui/settings/machine_learning_settings_page.dart
@@ -203,10 +203,8 @@ class _MachineLearningSettingsPageState
await SemanticSearchService.instance.init();
unawaited(MLService.instance.runAllML(force: true));
} else {
- // todo: Take a call if we should disable ML from other devices as well
- // when the user turns off indexing on mobile
- // await UserRemoteFlagService.instance
- // .setBoolValue(UserRemoteFlagService.mlEnabled, false);
+ await UserRemoteFlagService.instance
+ .setBoolValue(UserRemoteFlagService.mlEnabled, false);
}
if (mounted) {
setState(() {});