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

Add support for Dark / Light theme with low transparency fallback #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NSMustache
Copy link

This PR replaces the use of [UIColor whiteColor] as a container background when transparency / blur is disabled with the system-defined [UIColor secondaryBackgroundColor] on iOS 13+ as this color is impacted by dark/light mode.

Copy link
Owner

@CooperRS CooperRS left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! 👏
In general, the PR seems fine to me 👍. I only have a question about one change that seems a bit unrelated 🤔

}

//Debugging Accessibility Labels
#ifdef DEBUG
self.topContainer.accessibilityLabel = @"TopContainer";
self.topContainer.accessibilityLabel = @"TopContainer ";
Copy link
Owner

Choose a reason for hiding this comment

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

Is this change intended?

Copy link
Author

Choose a reason for hiding this comment

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

Apologies, I just pushed commit acbec02 to fix this typo

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