Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Show widget content instead of loading if available - #1890

Merged
Eric Johnson (EricJohnson327) merged 1 commit into
mainfrom
user/krschau/show-cached-widget
Nov 14, 2023
Merged

Show widget content instead of loading if available#1890
Eric Johnson (EricJohnson327) merged 1 commit into
mainfrom
user/krschau/show-cached-widget

Conversation

@krschau

Copy link
Copy Markdown
Collaborator

Summary of the pull request

The change in #1848 was a little too aggressive in waiting to show widget content only once the widget updated itself. Instead, we should check if there's content available to show before we show the loading ring. There might be fresh or cached content we can show. Swap the subscription to HandleWidgetUpdated back to the top of OnWidgetChanged so we're more likely to catch it.

References and relevant issues

Detailed description of the pull request / Additional comments

Validation steps performed

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate why CreateWidgetAsync sometimes returns a blank template.

3 participants

@krschau@guimafelipe@EricJohnson327