mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
369f5fdfe9
commit
8d2d35550f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue