Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Skip disabling consent on mobile

Neeraj Gupta3fa16625be66
diff --git a/mobile/lib/ui/settings/machine_learning_settings_page.dart b/mobile/lib/ui/settings/machine_learning_settings_page.dart
index 9f2acf5961..1bbef35ab1 100644
--- a/mobile/lib/ui/settings/machine_learning_settings_page.dart
+++ b/mobile/lib/ui/settings/machine_learning_settings_page.dart
@@ -194,8 +194,10 @@ class _MachineLearningSettingsPageState
await SemanticSearchService.instance.init();
unawaited(MLService.instance.runAllML(force: true));
} else {
- await UserRemoteFlagService.instance
- .setBoolValue(UserRemoteFlagService.mlEnabled, false);
+ // 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);
}
if (mounted) {
setState(() {});