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

+12
View File
@@ -2314,6 +2314,18 @@ abstract class AppLocalizations {
/// **'Remove'**
String get contacts_remove;
/// No description provided for @contacts_removeAutoAddNote.
///
/// In en, this message translates to:
/// **'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.'**
String get contacts_removeAutoAddNote;
/// No description provided for @contacts_removeFailed.
///
/// In en, this message translates to:
/// **'The radio did not confirm the removal. The contact was not removed.'**
String get contacts_removeFailed;
/// No description provided for @contacts_discoveredNearby.
///
/// In en, this message translates to: