Simplification

pull/178/head
M66B 5 years ago
parent 369f5fdfe9
commit 8d2d35550f

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

Loading…
Cancel
Save