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

Remove super.onReceive from our 3 widgets. #517

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

PavlosTze
Copy link
Member

Why?

There were some weird cases of widgets getting in an "empty"/undefined state in some cases (e.g. when clearing cache + data of the app). In this PR we are fixing this.

How?

Remove super.onReceive from our 3 widgets so all the updates in our code take place through our custom overrides in onReceive.

Testing

Check the states of a widget(s) and ensure everything is OK, e.g.:

  1. Showing the weather
  2. Logged out
  3. Delete a widget
  4. Add widgets and then clear the app's data & cache
  5. Add a widget of a favorite station and then unfollow it

Copy link

Coverage Report (Type: Instructions)

Overall Project 88.22%

There is no coverage information present for the Files changed

@PavlosTze PavlosTze merged commit 91f8444 into main Feb 21, 2025
11 checks passed
@PavlosTze PavlosTze deleted the feature/fe-1616-fix-weird-empty-states-on-widgets branch February 21, 2025 11:48
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