Commit Graph

6 Commits

Author SHA1 Message Date
Janez Troha
96824e455e fix: Add mounted checks and fix memory leaks across UI components
Address potential memory leaks and state-after-dispose issues:

- AppProvider: Add dispose method to clean up listeners and callbacks
- MapTab: Store and restore original location callback instead of nullifying
- MessagesTab: Use Timer instead of Future.delayed for highlight cleanup
- ConnectionDialog: Use named listener method for proper tab controller cleanup
- RoomLoginSheet: Add _isDisposed flag to handle async callback race conditions
- SettingsScreen: Clear location service callbacks in dispose
- Various screens: Add mounted checks before setState after async operations
  (contacts_tab, device_config, home_screen, map_management, packet_log,
   sar_template_management, sar_update_sheet, permission_request_dialog)
2025-12-04 19:34:48 +01:00
Janez T
5106e3939d feat: Update text color for persistent room info based on contact type 2025-11-14 11:35:30 +01:00
Janez T
109bf83e58 feat: Update text color for direct messages info in SAR Update Sheet 2025-11-14 11:35:10 +01:00
Janez T
c621db0800 feat: Add localization for no recipients and no channels found messages 2025-11-14 11:35:06 +01:00
Janez T
7cf3092980 feat: Add channel deletion functionality with localization support 2025-11-14 11:26:05 +01:00
Janez T
4577dec95a feat: Implement Windows runner for Flutter application
- Added FlutterWindow class to manage the Flutter view within a Win32 window.
- Created main entry point in main.cpp to initialize and run the Flutter application.
- Implemented utility functions for console attachment and command line argument parsing.
- Added resource management for application icon and manifest.
- Enhanced Win32Window class for DPI awareness and theme management.
- Included necessary headers and resource files for building the Windows runner.
2025-11-14 09:52:00 +01:00