Commit 2fa0dd01 authored by Thomas's avatar Thomas
Browse files

Fix issue #432

parent 4b579bbb
Pipeline #298956 passed with stage
in 3 minutes and 28 seconds
......@@ -3152,7 +3152,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
else
holder.status_document_container.setVisibility(View.VISIBLE);
if (attachments.size() == 1) {
if ((status.getCard() == null || status.getCard().getType().compareTo("video") != 0 || status.getCard().getImage() == null)) {
if (!fullAttachement)
holder.status_container2.setVisibility(View.GONE);
else {
......@@ -3168,12 +3167,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
else
holder.status_document_container.setVisibility(View.GONE);
}
} else {
if (fullAttachement)
holder.status_horizontal_document_container.setVisibility(View.GONE);
else
holder.status_document_container.setVisibility(View.GONE);
}
} else if (attachments.size() == 2) {
if (!fullAttachement) {
holder.status_container2.setVisibility(View.VISIBLE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment