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

removed background color for visionOS #3631

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aboedo
Copy link
Member

@aboedo aboedo commented Feb 5, 2024

Before After
Screenshot 2024-02-05 at 12 29 45 PM Screenshot 2024-02-05 at 12 27 25 PM

@@ -161,7 +161,11 @@ extension View {

func adaptTemplateView(with configuration: TemplateViewConfiguration) -> some View {
self
#if os(visionOS)
.background(Material.regular)
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want to do this below on backgroundContent so we only use this if blurred background is enabled. Otherwise it'd ignore paywalls configured with a color and the foreground text might become ineligible.

@NachoSoto
Copy link
Contributor

Excited for this to look better on visionOS!

@NachoSoto
Copy link
Contributor

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

Successfully merging this pull request may close these issues.

3 participants