mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 01:23:38 +02:00
Color workaroud fix
This commit is contained in:
@@ -367,10 +367,10 @@ public class HtmlHelper {
|
||||
try {
|
||||
color = Color.parseColor(c);
|
||||
} catch (IllegalArgumentException ex) {
|
||||
color = Integer.decode(c) | 0xFF000000;
|
||||
color = Integer.decode("#" + c) | 0xFF000000;
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.e("Color=" + c);
|
||||
Log.e("Color=" + c + ": " + ex);
|
||||
}
|
||||
|
||||
if (color != null && !(dark && color == Color.BLACK)) {
|
||||
|
||||
Reference in New Issue
Block a user