Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget not refreshed with prayer time data #224

Closed
iqfareez opened this issue Feb 11, 2024 · 2 comments
Closed

Widget not refreshed with prayer time data #224

iqfareez opened this issue Feb 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@iqfareez
Copy link
Member

iqfareez commented Feb 11, 2024

Describe the bug

The prayer data is not updated even though the data in app is updated.

To Reproduce

This bug can happen when the new month is come. The old data is invalidated so the app prompts to open app and update. But after updating, the data is not refreshed.

But we don't necessarily need to wait until the end of the month to check the behavior, steps to reproduce the behavior:

  1. Uninstall the app
  2. Install the app (just install, do not open it yet)
  3. Go to homescreen, add a prayer data homescreen widget
  4. Widget added.
  5. We should see the widget prompting us to open app to update the data
  6. Click the widget to open app and setup for first time use.

Expected behavior

The widget shows the selected prayer time after initial setup.

Actual behavior

Only the zone and date got updated, the prayer time itself is not.

SmartSelect_20240211_103028_One UI Home

Workaround

  • Restart the device.
  • Add another widget
@iqfareez iqfareez added the bug Something isn't working label Feb 11, 2024
@iqfareez
Copy link
Member Author

iqfareez commented Feb 11, 2024

Fixed

Screen_Recording_20240211_110756_Permission.controller.mp4

@iqfareez
Copy link
Member Author

Fixed in commit 2e19974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant