Skip to content

WebImage does not respect RedactionReasons #343

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

Closed
Kyle-Ye opened this issue Jan 7, 2025 · 2 comments
Closed

WebImage does not respect RedactionReasons #343

Kyle-Ye opened this issue Jan 7, 2025 · 2 comments

Comments

@Kyle-Ye
Copy link
Contributor

Kyle-Ye commented Jan 7, 2025

When using .redacted(reason: .placeholder) on a View, the WebImage part is just blank. It is expected to show the placeholder view like Image or AsyncImage.

ContentView().redacted(reason: .placeholder)
@Kyle-Ye Kyle-Ye closed this as completed Jan 7, 2025
@dreampiggy
Copy link
Collaborator

Seems solved ? using some magic workaround or ?

@Kyle-Ye
Copy link
Contributor Author

Kyle-Ye commented Jan 7, 2025

Looks like it is already supported somehow. The reason why I thought it is not is some business code bug so I just closed it after I realize it.

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

No branches or pull requests

2 participants