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
@@ -405,7 +405,7 @@ void main() {
expect(settings.routeWeightSuccessIncrement, equals(0.5));
expect(settings.routeWeightFailureDecrement, equals(0.2));
expect(settings.maxMessageRetries, equals(5));
expect(settings.evictDiscoveredContactsEnabled, isFalse);
expect(settings.evictDiscoveredContactsEnabled, isTrue);
});
test('toJson includes all new fields', () {
@@ -422,7 +422,7 @@ void main() {
expect(json['route_weight_success_increment'], equals(0.5));
expect(json['route_weight_failure_decrement'], equals(0.2));
expect(json['max_message_retries'], equals(5));
expect(json['evict_discovered_contacts_enabled'], isFalse);
expect(json['evict_discovered_contacts_enabled'], isTrue);
});
test('fromJson reads all new fields', () {