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: settings text color not visible in dark theme mode #403

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

vbh
Copy link
Contributor

@vbh vbh commented Apr 8, 2022

As application context doesn't have any information about current theme, the color from
ContextCompat.getColor(context, colorRes) is default color irrespective of theme, so created a themed context which provides context with current theme, and ContextCompact now returns theme specific color

Copy link
Collaborator

@roeiedri roeiedri left a comment

Choose a reason for hiding this comment

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

Nice!

@roeiedri roeiedri changed the base branch from master to staging April 8, 2022 14:49
@roeiedri roeiedri merged commit 8635495 into Chooloo:staging Apr 8, 2022
@roeiedri roeiedri mentioned this pull request Apr 8, 2022
3 tasks
@vbh vbh deleted the settings-textcolor branch April 8, 2022 15:27
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.

None yet

2 participants