feat: Implement notification service for SAR messages and add localization support

This commit is contained in:
Janez T
2025-10-16 16:31:35 +02:00
parent d69355a9b8
commit 09e53e579a
17 changed files with 629 additions and 3 deletions

View File

@@ -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;