Show black texts in dark themes in text color

This commit is contained in:
M66B 2019-10-19 09:44:46 +02:00
parent 6fdd4f3c9e
commit af0b9e5d3f
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public class HtmlHelper {
Log.e("Color=" + c);
}
if (color != null) {
if (color != null && !(dark && color == Color.BLACK)) {
color = Helper.adjustLuminance(color, dark, MIN_LUMINANCE);
c = String.format("#%06x", color & 0xFFFFFF);
sb.append("color:").append(c).append(";");