Fixes issue #45 - Content Warnings are not displayed on boosted toots
This commit is contained in:
parent
5b8b8ff869
commit
4179995f11
|
@ -644,9 +644,10 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
holder.status_spoiler_container.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
if( status.getSpoiler_text() != null)
|
||||
holder.status_spoiler.setText(status.getSpoiler_text());
|
||||
|
||||
if( status.getReblog() == null) {
|
||||
if( status.getSpoiler_text() != null)
|
||||
holder.status_spoiler.setText(status.getSpoiler_text());
|
||||
if (status.getMedia_attachments().size() < 1) {
|
||||
holder.status_document_container.setVisibility(View.GONE);
|
||||
holder.status_show_more.setVisibility(View.GONE);
|
||||
|
@ -669,6 +670,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
}
|
||||
}
|
||||
}else { //Attachments for reblogs
|
||||
if( status.getReblog().getSpoiler_text() != null)
|
||||
holder.status_spoiler.setText(status.getReblog().getSpoiler_text());
|
||||
if (status.getReblog().getMedia_attachments().size() < 1) {
|
||||
holder.status_document_container.setVisibility(View.GONE);
|
||||
holder.status_show_more.setVisibility(View.GONE);
|
||||
|
|
Loading…
Reference in New Issue