Skip to content

Widget Fix#17

Open
ahXN00 wants to merge 2 commits into
greykaizen:mainfrom
ahXN00:contribution-final
Open

Widget Fix#17
ahXN00 wants to merge 2 commits into
greykaizen:mainfrom
ahXN00:contribution-final

Conversation

@ahXN00

@ahXN00 ahXN00 commented Jun 14, 2026

Copy link
Copy Markdown
Location resolution for widget and app

- Consolidated location name resolution into a new LocationUtil.
- Fixed 'Your area' being stuck in DataStore by treating generic labels as 'needs resolution'.
- Increased Geocoder timeout to 8 seconds to improve reliability on slower networks.
- Added deeper address field fallback (Sub-district, Province, Region) for better coverage.
- Ensured consistent location logic across Widget, Notifications, and Home screen.
- Improved SettingsViewModel to automatically re-try resolution if the current label is generic.

Khushu User added 2 commits June 12, 2026 13:03
- Updated PrayerWidgetProvider to attempt a fresh location check using lastKnownLocation when GPS is enabled.
- Increased Geocoder timeout from 2s to 5s to reduce 'Your Area' fallback on slow networks.
- Ensured the widget refreshes immediately when location or GPS settings are changed in the app.
- Improved location label resolution logic to prevent overwriting valid labels with fallbacks on temporary errors.
- Consolidated location name resolution into a new LocationUtil.
- Fixed 'Your area' being stuck in DataStore by treating generic labels as 'needs resolution'.
- Increased Geocoder timeout to 8 seconds to improve reliability on slower networks.
- Added deeper address field fallback (Sub-district, Province, Region) for better coverage.
- Ensured consistent location logic across Widget, Notifications, and Home screen.
- Improved SettingsViewModel to automatically re-try resolution if the current label is generic.
- Fixed a derivedStateOf composition error in HomeScreen.
Copilot AI review requested due to automatic review settings June 14, 2026 08:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ahXN00 ahXN00 changed the title Contribution final Widget Fix Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants