[mob] Skip disabling consent on mobile

This commit is contained in:
Neeraj Gupta
2024-08-20 16:53:22 +05:30
parent ae06577b00
commit 3fa16625be

View File

@@ -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(() {});