Default discovered-contact eviction on and harden the auto-add dialog

- Default evictDiscoveredContactsEnabled to true so the 500-entry cap stays
  in effect unless the user opts out
- Evict until under the cap when adding, so an oversized list recovers
- Pass the cap into the localized subtitle instead of hard-coding 500
- Fix German title and subtitle wording
- Save: block double taps, send radio config first, show an error if
  persisting the setting fails
- Restore untranslated.json to match dev
This commit is contained in:
zjs81 committed 2026-10-07 21:12:59 -07:00
1 parent 956c779e2c
commit ef53b8f390
26 files changed
+130 -223

No files matched your search

+2 -2
View File
@@ -227,7 +227,7 @@ class AppSettings {
this.unitSystem = UnitSystem.metric,
Set<String>? mutedChannels,
this.mapShowDiscoveryContacts = true,
this.evictDiscoveredContactsEnabled = false,
this.evictDiscoveredContactsEnabled = true,
this.tcpServerAddress = '',
this.tcpServerPort = 0,
this.jumpToOldestUnread = false,
@@ -411,7 +411,7 @@ class AppSettings {
mapShowDiscoveryContacts:
json['map_show_discovery_contacts'] as bool? ?? true,
evictDiscoveredContactsEnabled:
json['evict_discovered_contacts_enabled'] as bool? ?? false,
json['evict_discovered_contacts_enabled'] as bool? ?? true,
tcpServerAddress: json['tcp_server_address'] as String? ?? '',
tcpServerPort: json['tcp_server_port'] as int? ?? 0,
jumpToOldestUnread: json['jump_to_oldest_unread'] as bool? ?? false,