mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-21 21:57:19 +00:00
Oops
This commit is contained in:
parent
0c0715ee3f
commit
51f1b0b8f4
1 changed files with 1 additions and 1 deletions
|
@ -1675,7 +1675,7 @@ public class HtmlHelper {
|
|||
static String encodeWebColor(int color) {
|
||||
int alpha = Color.alpha(color);
|
||||
int rgb = 0xFFFFFF & color;
|
||||
if (alpha == 0)
|
||||
if (alpha == 255)
|
||||
return String.format("#%06X", rgb);
|
||||
else
|
||||
return String.format("#%06X%02X", rgb, alpha);
|
||||
|
|
Loading…
Reference in a new issue