mirror of https://github.com/M66B/FairEmail.git
Show black texts in dark themes in text color
This commit is contained in:
parent
6fdd4f3c9e
commit
af0b9e5d3f
|
@ -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(";");
|
||||
|
|
Loading…
Reference in New Issue