1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Simplification

This commit is contained in:
M66B 2020-05-23 17:29:58 +02:00
parent 369f5fdfe9
commit 8d2d35550f

View file

@ -281,7 +281,7 @@ class ImageHelper {
return gif;
}
} else {
Bitmap bm = ImageHelper.decodeImage(attachment.getFile(context), scaleToPixels);
Bitmap bm = decodeImage(attachment.getFile(context), scaleToPixels);
if (bm == null) {
Log.i("Image not decodable CID=" + cid);
Drawable d = res.getDrawable(R.drawable.baseline_broken_image_24, theme);