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

Issue 49: Add Dark mode support for OSS Licenses Webview. #55

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

Conversation

gauravkhuperkar
Copy link

This PR introduces dark mode support for Open source license dialog.

Code changes:
Using WebSettingsCompat.setForceDark (deprecated) for backward compatibility as this app has minimum sdk support as 23. It can be removed once minimum target is set to 29.

Changes are tested with android 10/11 emulator and android 11 physical device.
Please find attached testing video. Video quality was reduced because off size limitations.

420code-scanner-dark-mode-support-demo.mov

@czlucius
Copy link
Owner

czlucius commented Nov 1, 2022

Hi there!
Thanks for contributing this patch, your work is much appreciated.

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.

2 participants