mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-13 01:10:28 +00:00
feat: Add support for hash and private channels with corresponding UI updates
- Introduced new localization strings for channel types and their descriptions in Italian, German, Spanish, French, Croatian, Slovenian, and English. - Updated the `AppProvider` to handle channel info reception, including deletion of channels and updating the UI accordingly. - Enhanced `ChannelsProvider` to support channel removal and notify listeners. - Modified `ConnectionProvider` to include methods for checking empty channel slots and deleting channels. - Updated BLE service methods to handle channel deletion and verification. - Improved the `AddChannelDialog` to differentiate between hash and private channels, including dynamic UI elements based on channel type. - Added delete functionality for channels in the `ContactTile` widget with confirmation dialogs. - Adjusted permission request dialog behavior to allow dismissing by tapping outside.
This commit is contained in:
@@ -2076,6 +2076,14 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get channelSecretHelp =>
|
||||
'Questa password deve essere condivisa con tutti i membri del team che necessitano di accesso a questo canale';
|
||||
|
||||
@override
|
||||
String get channelTypesInfo =>
|
||||
'Canali hash (#squadra): Password generata automaticamente dal nome. Stesso nome = stesso canale su tutti i dispositivi.\n\nCanali privati: Usa una password esplicita. Solo chi ha la password può unirsi.';
|
||||
|
||||
@override
|
||||
String get hashChannelInfo =>
|
||||
'Canale hash: La password verrà generata automaticamente dal nome del canale. Chiunque utilizzi lo stesso nome si unirà allo stesso canale.';
|
||||
|
||||
@override
|
||||
String get channelNameRequired => 'Il nome del canale è obbligatorio';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user