mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Simplification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user