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

Follow system theme? aka dark mode in two lines: #1

Closed
rocket-pig opened this issue Dec 29, 2022 · 1 comment
Closed

Follow system theme? aka dark mode in two lines: #1

rocket-pig opened this issue Dec 29, 2022 · 1 comment

Comments

@rocket-pig
Copy link

rocket-pig commented Dec 29, 2022

if (WebViewFeature.isFeatureSupported(WebViewFeature.FORCE_DARK)) {
    WebSettingsCompat.setForceDark(...)
}

...according to:
https://developer.android.com/develop/ui/views/layout/webapps/dark-theme#kotlin

@surunzi
Copy link
Member

surunzi commented Mar 30, 2023

Supported in v1.1.0

@surunzi surunzi closed this as completed Mar 30, 2023
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

No branches or pull requests

2 participants