mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Fixed colors
This commit is contained in:
@@ -392,7 +392,7 @@ public class HtmlHelper {
|
||||
Integer color = parseColor(value, dark);
|
||||
if (color != null) {
|
||||
// fromHtml does not support transparency
|
||||
String c = String.format("#%08x", color | 0xFF000000);
|
||||
String c = String.format("#%06x", color);
|
||||
sb.append("color:").append(c).append(";");
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N)
|
||||
element.attr("color", c);
|
||||
|
||||
Reference in New Issue
Block a user