diff --git a/app/src/main/java/eu/faircode/email/ActivityEML.java b/app/src/main/java/eu/faircode/email/ActivityEML.java index e3e10580fd..27eaf3f97a 100644 --- a/app/src/main/java/eu/faircode/email/ActivityEML.java +++ b/app/src/main/java/eu/faircode/email/ActivityEML.java @@ -300,13 +300,13 @@ public class ActivityEML extends ActivityBase { ImageHelper.fitDrawable(d, w == null ? 0 : w, h == null ? 0 : h, 1.0f, tvBody); } catch (Throwable ex) { Log.e(ex); - d = ContextCompat.getDrawable(context, R.drawable.twotone_broken_image_24); } break; } if (d == null) - d = ContextCompat.getDrawable(context, R.drawable.twotone_image_24); - } + d = ContextCompat.getDrawable(context, R.drawable.twotone_broken_image_24); + } else + d = ContextCompat.getDrawable(context, R.drawable.twotone_image_24); } else { d = ContextCompat.getDrawable(context, R.drawable.twotone_my_location_24); d.setTint(Helper.resolveColor(context, R.attr.colorWarning));