Trim an oversized list when enabling eviction
This commit is contained in:
1 parent
1dbb487fe7
commit
1323bf13b6
2 files changed
+17
-3
No files matched your search
@@ -1269,6 +1269,9 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
await appSettingsService.setEvictDiscoveredContactsEnabled(
|
||||
evictDiscoveredContactsEnabled,
|
||||
);
|
||||
if (evictDiscoveredContactsEnabled) {
|
||||
await connector.trimDiscoveredContactsToLimit();
|
||||
}
|
||||
_sendSettings(
|
||||
connector,
|
||||
autoAddChat,
|
||||
|
||||
Reference in new issue
Block a user