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:
1 parent
1e786b24ba
commit
f2a27f0f71
28 files changed
+352
-10
No files matched your search
@@ -1285,6 +1285,14 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_remove => 'Entfernen';
|
||||
|
||||
@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 'In der Nähe entdeckt ($count)';
|
||||
|
||||
Reference in new issue
Block a user