Default dark html on confirm html only

This commit is contained in:
M66B
2021-01-30 11:31:02 +01:00
parent 4e9ee66b34
commit bce3ed511b
2 changed files with 4 additions and 2 deletions

View File

@@ -49,7 +49,8 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean overview_mode = prefs.getBoolean("overview_mode", false);
boolean safe_browsing = prefs.getBoolean("safe_browsing", false);
boolean html_dark = prefs.getBoolean("html_dark", true);
boolean confirm_html = prefs.getBoolean("confirm_html", true);
boolean html_dark = prefs.getBoolean("html_dark", confirm_html);
setVerticalScrollBarEnabled(false);
setHorizontalScrollBarEnabled(false);