Skip to content

Widget not refreshed with prayer time data #224

Closed

Description

@iqfareez

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

Activity

  1. iqfareez commented on Feb 11, 2024

    @iqfareez
    MemberAuthor

    Fixed

    Screen_Recording_20240211_110756_Permission.controller.mp4
  2. iqfareez commented on Feb 11, 2024

    @iqfareez
    MemberAuthor

    Fixed in commit 2e19974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions