mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Document special case
This commit is contained in:
@@ -602,6 +602,8 @@ public class HtmlHelper {
|
||||
e = e.parent();
|
||||
|
||||
if (!bg) {
|
||||
// Special case:
|
||||
// external draft / dark background / dark font
|
||||
if (color != null && !view && dark) {
|
||||
float lum = (float) ColorUtils.calculateLuminance(color);
|
||||
if (lum < 0.1f)
|
||||
|
||||
Reference in New Issue
Block a user