-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sets the theme for the web view based on the application theme. Uses WebKit to check whether the web view supports the dark mode feature. If yes, FORCE_DARK_ON - For Dark and True black theme FORCE_DARK_OFF - Light mode. ForceDarkStrategy is set as DARK_STRATEGY_PREFER_WEB_THEME_OVER_USER_AGENT_DARKENING. In this mode WebView content will be darkened by a user agent unless web page supports dark theme. Former-commit-id: 29eb5b9
- Loading branch information
1 parent
00dc290
commit ef65a8b
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters