Small improvement

This commit is contained in:
M66B
2019-05-03 17:39:32 +02:00
parent 3e3bfb142d
commit 50434e744f
3 changed files with 3 additions and 4 deletions

View File

@@ -313,7 +313,7 @@ public class HtmlHelper {
return d;
} else {
Bitmap bm = Helper.decodeImage(attachment.getFile(view.getContext()),
res.getDisplayMetrics().widthPixels);
res.getDisplayMetrics().widthPixels * 2);
if (bm == null) {
Drawable d = res.getDrawable(R.drawable.baseline_broken_image_24, theme);
d.setBounds(0, 0, px, px);