From 8d2d35550f381d48d70770375a795876c8e4d2b1 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 23 May 2020 17:29:58 +0200 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/ImageHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ImageHelper.java b/app/src/main/java/eu/faircode/email/ImageHelper.java index ced2c767b5..27db5c17ad 100644 --- a/app/src/main/java/eu/faircode/email/ImageHelper.java +++ b/app/src/main/java/eu/faircode/email/ImageHelper.java @@ -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);