diff --git a/app/src/main/java/eu/faircode/email/AdapterImage.java b/app/src/main/java/eu/faircode/email/AdapterImage.java index 4a9b1e1b49..410d69b786 100644 --- a/app/src/main/java/eu/faircode/email/AdapterImage.java +++ b/app/src/main/java/eu/faircode/email/AdapterImage.java @@ -81,10 +81,8 @@ public class AdapterImage extends RecyclerView.Adapter context.getResources().getDisplayMetrics().widthPixels / 2); if (bm == null) image.setImageResource(R.drawable.baseline_broken_image_24); - else { - image.setPadding(0, 0, 0, 0); + else image.setImageBitmap(bm); - } } else image.setImageResource(attachment.progress == null ? R.drawable.baseline_image_24 : R.drawable.baseline_hourglass_empty_24);