Wait for the radio before removing a contact, and explain re-adds

removeContact now waits for the radio's reply and only drops the contact
locally when the radio confirms (or reports it doesn't have it), so a
lost command no longer leaves a contact that the next sync restores.
Failures are shown to the user. The delete dialog warns when the radio
auto-adds that contact type, since the contact returns on its next
advert.
This commit is contained in:
zjs81 committed 2026-10-24 21:03:39 -07:00
1 parent 1e786b24ba
commit f2a27f0f71
28 files changed
+352 -10

No files matched your search

+8
View File
@@ -1287,6 +1287,14 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get contacts_remove => 'Rimuovi';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Scoperti nelle vicinanze ($count)';