Black background for WebView in dark theme

pull/155/head
M66B 6 years ago
parent f151d8ba93
commit c42805263e

@ -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;
}

Loading…
Cancel
Save