add setting to enable eviction of discovered contacts in settings

This commit is contained in:
ZIER committed 2026-08-03 09:04:36 +02:00
1 parent 98f6cf3745
commit 9db2307ea0
30 files changed
+260 -40

No files matched your search

+6
View File
@@ -223,6 +223,12 @@ class AppSettingsService extends ChangeNotifier {
await updateSettings(_settings.copyWith(mapShowDiscoveryContacts: value));
}
Future<void> setEvictDiscoveredContactsEnabled(bool value) async {
await updateSettings(
_settings.copyWith(evictDiscoveredContactsEnabled: value),
);
}
Future<void> setBatteryChemistryForDevice(
String deviceId,
String chemistry,