feat: Add functionality to delete all discovered contacts

- Implemented a new method to remove all discovered contacts from the list.
- Added confirmation dialog for deleting all discovered contacts in the discovery screen.
- Updated localization files to include new strings for deleting all discovered contacts.
- Refactored contact import logic to streamline the process.
- Enhanced the discovery handling to notify users appropriately based on settings.
This commit is contained in:
Winston Lowe
2026-03-02 10:23:14 -08:00
parent ddeb1edc2e
commit 38856c67e5
34 changed files with 378 additions and 36 deletions
+19 -1
View File
@@ -184,6 +184,12 @@ abstract class AppLocalizations {
/// **'Delete'**
String get common_delete;
/// No description provided for @common_deleteAll.
///
/// In en, this message translates to:
/// **'Delete All'**
String get common_deleteAll;
/// No description provided for @common_close.
///
/// In en, this message translates to:
@@ -5510,8 +5516,20 @@ abstract class AppLocalizations {
/// No description provided for @discoveredContacts_deleteContact.
///
/// In en, this message translates to:
/// **'Delete Contact'**
/// **'Delete Discovered Contact'**
String get discoveredContacts_deleteContact;
/// No description provided for @discoveredContacts_deleteContactAll.
///
/// In en, this message translates to:
/// **'Delete All Discovered Contacts'**
String get discoveredContacts_deleteContactAll;
/// No description provided for @discoveredContacts_deleteContactAllContent.
///
/// In en, this message translates to:
/// **'Are you sure you want to delete all discovered contacts?'**
String get discoveredContacts_deleteContactAllContent;
}
class _AppLocalizationsDelegate