Show attachments after showing message

This commit is contained in:
M66B 2019-09-12 16:47:21 +02:00
parent 65d97b55f0
commit cb21cf6de3
1 changed files with 3 additions and 1 deletions

View File

@ -1079,7 +1079,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
// Attachments
bindAttachments(message, properties.getAttachments(message.id));
cowner.recreate();
cowner.start();
db.attachment().liveAttachments(message.id).observe(cowner, new Observer<List<EntityAttachment>>() {
private int lastInlineImages = 0;
@ -2625,6 +2624,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
properties.scrollTo(getAdapterPosition());
pbBody.setVisibility(View.GONE);
// Show attachments/images
cowner.start();
}
@Override