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

Fix issue with advanced image preview #1074

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented Jan 22, 2024

Pull Request Description

This PR fixes an issue with displaying image previews for the advanced share sheet. This was broken here because the assumption was made that the image preview widget will always have a URL, which is not true. Now getImageSize and retrieveImageDimensions handle URL or bytes.

I also ensured that the new CircularProgressIndicator introduced in that PR matches the existing one. Right now there is a bit of a "jump" between the two styles.

Review without whitespace.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

qemu-system-x86_64_jbsBS99hGo.mp4

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hjiangsu hjiangsu merged commit dbab0ef into thunder-app:develop Jan 22, 2024
1 check passed
@micahmo micahmo deleted the fix/image-preview-issue branch January 22, 2024 20:37
@micahmo micahmo mentioned this pull request Jan 24, 2024
3 tasks
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.

2 participants