6 Commits

Author SHA1 Message Date
Mekan1206
2c7884b9ff Refactor HomeScreen activity state and update UI labels
- Changed state management for next day's activity to use 'dayLabel' instead of 'dateStr'.
- Updated logic to determine the day label for next day's activity.
- Modified badge text in HomeScreen to reflect the new label and improved localization for today's activity.
2025-09-20 14:24:33 +05:00
Mekan1206
fa0465ee1a Update activity rendering and styles in Programs component
- Added conditional rendering for activity time to prevent displaying empty values.
- Adjusted styles for time text and activity title to improve layout consistency.
2025-09-20 14:09:33 +05:00
Mekan1206
a1871510a8 Add stale data handling in Programs component
- Enhanced the getPrograms function to return a stale flag indicating if cached data is being used.
- Implemented a warning message in the Programs component to inform users when stale data is displayed.
- Updated styles for the warning message to improve visibility.
2025-09-20 13:23:55 +05:00
Mekan1206
3ee7ec87be Implement program fetching and loading state in Programs component
- Added asynchronous fetching of program activities using getPrograms.
- Introduced loading and error states to enhance user experience.
- Refactored activity rendering to handle dynamic data and improved icon rendering logic.
2025-09-20 13:21:20 +05:00
Mekan1206
e542371268 Add expo-asset dependency and update layout for safe area insets
- Included expo-asset in app.json and package.json for asset management.
- Refactored layout components in HomeScreen, TabIndex, Programs, and ServicesScreen to utilize safe area insets for better UI on different devices.
- Updated StatusBar style in RootLayoutNav for improved visibility.
2025-09-17 19:14:09 +05:00
a8ec876cc0 Add 'Programs' tab to TabLayout and refactor ServicesScreen to use FlatList for service cards
- Introduced a new 'Programs' tab in the TabLayout with localized title and icon.
- Refactored ServicesScreen to replace ScrollView with FlatList for improved performance and layout, displaying service cards with icons.
- Updated localization files to include new keys for services and programs.
2025-08-20 10:31:51 +05:00