mirror of https://github.com/M66B/FairEmail.git
More contrast for letter icon
This commit is contained in:
parent
4929bf2429
commit
d33d4dfe83
|
@ -76,7 +76,7 @@ class Identicon {
|
|||
byte[] hash = getHash(email);
|
||||
|
||||
int color = Color.argb(255, hash[0], hash[1], hash[2]);
|
||||
color = ColorUtils.blendARGB(color, dark ? Color.WHITE : Color.BLACK, 0.2f);
|
||||
color = ColorUtils.blendARGB(color, dark ? Color.WHITE : Color.BLACK, 0.3f);
|
||||
|
||||
Bitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
|
|
Loading…
Reference in New Issue