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 getColorStateList for API22 and below #2797

Merged
merged 1 commit into from
Aug 15, 2023
Merged

fix getColorStateList for API22 and below #2797

merged 1 commit into from
Aug 15, 2023

Conversation

bmx666
Copy link
Contributor

@bmx666 bmx666 commented Jul 22, 2023

In Android API 22 and below, there is an issue which caused text to appear in red instead of the expected color:

After using getColorStateList from AppCompatResources it fix the bug:

This fix has no effect on Android API23 and later devices.

@mikepenz
Copy link
Owner

Thank you very much for the PR @bmx666 and sorry for the delayed review

@mikepenz mikepenz merged commit 3cf438b into mikepenz:develop Aug 15, 2023
@mikepenz mikepenz added the fix label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants