This commit is contained in:
M66B 2019-03-25 18:47:28 +00:00
parent 85197e056c
commit 6ed02843df
1 changed files with 1 additions and 3 deletions

View File

@ -81,10 +81,8 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
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);