Widget Fix#17
Open
ahXN00 wants to merge 2 commits into
Open
Conversation
ahXN00
commented
Jun 14, 2026
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.
mdrifatdev
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.