mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Skip displaying image place holders
This commit is contained in:
@@ -1782,7 +1782,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
boolean show_images = properties.getValue("images", id);
|
||||
if (show_images) {
|
||||
ImageSpan[] image = buffer.getSpans(off, off, ImageSpan.class);
|
||||
if (image.length > 0) {
|
||||
if (image.length > 0 && image[0].getSource() != null) {
|
||||
onOpenImage(image[0].getDrawable(), image[0].getSource());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user