Commit Graph

14 Commits

Author SHA1 Message Date
Janez T
d70f59b10f feat: Add Makefile, Fastlane configuration, and update Android build settings for release management v2025.1214.1 2025-12-14 19:08:11 +01:00
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 Troha
3e2e4aa4d9 feat: Add setting to disable map tab for battery savings
Add a new "Disable Map" toggle in settings that allows users to hide
the map tab entirely. This is useful for scenarios where the map is
not needed and battery conservation is a priority.

Changes:
- Add disableMap and disableMapDescription localized strings (all languages)
- Add isMapEnabled state to AppProvider with persistence
- Update HomeScreen to dynamically adjust tab count based on setting
- Make onNavigateToMap optional in MessagesTab and ContactsTab
- Add toggle switch in Settings screen under Interface section
2025-12-04 18:33:00 +01:00
Janez T
53aa8e57e2 feat: Bump project version to 59 in project settings and Info.plist 2025-11-14 11:57:43 +01:00
Janez T
ab833db296 feat: Bump project version to 58 in project settings and Info.plist 2025-11-14 11:35:49 +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
38523c3bb4 feat: Add localization for no recipients and no channels found messages 2025-11-14 11:26:12 +01:00
Janez T
7cf3092980 feat: Add channel deletion functionality with localization support 2025-11-14 11:26:05 +01:00
Janez T
a0f096cc4f 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.
2025-11-14 11:20:16 +01:00
Janez T
21daa83c1a feat: Update location tracking service to disable automatic broadcasting and add manual control; modify settings screen and related files 2025-11-14 10:04:57 +01:00
Janez T
cf780ce636 chore: Update package versions in pubspec.lock 2025-11-14 09:53:50 +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