mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Show black texts in dark themes in text color
This commit is contained in:
@@ -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(";");
|
||||
|
||||
Reference in New Issue
Block a user