Black background for WebView in dark theme

This commit is contained in:
M66B 2019-04-24 17:57:53 +02:00
parent f151d8ba93
commit c42805263e
1 changed files with 1 additions and 1 deletions

View File

@ -1520,7 +1520,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (dark) {
String color = String.format("#%06X", (args.getInt("color") & 0xFFFFFF));
original.html = "<style type=\"text/css\">" +
"* { background: transparent !important; color: " + color + " !important }" +
"* { background: black !important; color: " + color + " !important }" +
"</style>" + original.html;
}