mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-29 23:08:44 +10:00
Add contact settings and discovery features
- Implemented contact settings in localization files for Swedish, Ukrainian, and Chinese. - Added new DiscoveryContact model to handle discovered contacts. - Created DiscoveryScreen to display discovered contacts with filtering and sorting options. - Integrated contact discovery storage to persist discovered contacts. - Updated settings screen to include options for automatic contact addition. - Enhanced app bar and list filter widgets for better user experience. - Fixed variable naming inconsistencies in contact model.
This commit is contained in:
@@ -544,6 +544,18 @@ abstract class AppLocalizations {
|
||||
/// **'Longitude'**
|
||||
String get settings_longitude;
|
||||
|
||||
/// No description provided for @settings_contactSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact Settings'**
|
||||
String get settings_contactSettings;
|
||||
|
||||
/// No description provided for @settings_contactSettingsSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Settings for how contacts are added.'**
|
||||
String get settings_contactSettingsSubtitle;
|
||||
|
||||
/// No description provided for @settings_privacyMode.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
@@ -5380,6 +5392,102 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'Last seen'**
|
||||
String get snrIndicator_lastSeen;
|
||||
|
||||
/// No description provided for @contactsSettings_title.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contacts settings'**
|
||||
String get contactsSettings_title;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Automatic Discovery'**
|
||||
String get contactsSettings_autoAddTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_otherTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Other contact related settings'**
|
||||
String get contactsSettings_otherTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddUsersTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Auto-add users'**
|
||||
String get contactsSettings_autoAddUsersTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddUsersSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Allow the companion to automatically add discovered users.'**
|
||||
String get contactsSettings_autoAddUsersSubtitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddRepeatersTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Auto-add repeaters'**
|
||||
String get contactsSettings_autoAddRepeatersTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddRepeatersSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Allow the companion to automatically add discovered repeaters.'**
|
||||
String get contactsSettings_autoAddRepeatersSubtitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddRoomServersTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Auto-add room servers'**
|
||||
String get contactsSettings_autoAddRoomServersTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddRoomServersSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Allow the companion to automatically add discovered room servers.'**
|
||||
String get contactsSettings_autoAddRoomServersSubtitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddSensorsTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Auto-add sensors'**
|
||||
String get contactsSettings_autoAddSensorsTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_autoAddSensorsSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Allow the companion to automatically add discovered sensors.'**
|
||||
String get contactsSettings_autoAddSensorsSubtitle;
|
||||
|
||||
/// No description provided for @contactsSettings_overwriteOldestTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Overwrite Oldest'**
|
||||
String get contactsSettings_overwriteOldestTitle;
|
||||
|
||||
/// No description provided for @contactsSettings_overwriteOldestSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'When enabled, the companion will overwrite the oldest contact not favoriteited when the contact list is full.'**
|
||||
String get contactsSettings_overwriteOldestSubtitle;
|
||||
|
||||
/// No description provided for @discoveredContacts_Title.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Discovered Contacts'**
|
||||
String get discoveredContacts_Title;
|
||||
|
||||
/// No description provided for @discoveredContacts_noMatching.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No matching contacts'**
|
||||
String get discoveredContacts_noMatching;
|
||||
|
||||
/// No description provided for @discoveredContacts_searchHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Search discovered contacts'**
|
||||
String get discoveredContacts_searchHint;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
Reference in New Issue
Block a user