1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 07:23:03 +00:00

Disable favicon transparent backgrounds

This commit is contained in:
M66B 2022-02-19 07:56:56 +01:00
parent 77062ec420
commit 83eddfec1e

View file

@ -448,7 +448,7 @@ public class ContactInfo {
try {
Favicon favicon = future.get();
if (favicon != null) {
float lum = ImageHelper.getLuminance(favicon.bitmap);
float lum = 0; // ImageHelper.getLuminance(favicon.bitmap);
if (lum < MIN_FAVICON_LUMINANCE) {
Bitmap bitmap = Bitmap.createBitmap(
favicon.bitmap.getWidth(),