mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
feat: Implement notification service for SAR messages and add localization support
This commit is contained in:
@@ -451,6 +451,13 @@ class _HomeScreenState extends State<HomeScreen>
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// Set localizations for notifications
|
||||
final messagesProvider = context.read<MessagesProvider>();
|
||||
final localizations = AppLocalizations.of(context);
|
||||
if (localizations != null) {
|
||||
messagesProvider.setLocalizations(localizations);
|
||||
}
|
||||
|
||||
// Determine if we should hide the UI (only in fullscreen on map tab)
|
||||
final shouldHideUI = _isMapFullscreen && _currentIndex == 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user