Fix gif with media when unknown type

This commit is contained in:
tom79 2019-07-12 18:44:22 +02:00
parent 285a790bad
commit 3d513e8e09
1 changed files with 2 additions and 2 deletions

View File

@ -1963,14 +1963,14 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
/*if (expand_cw)
holder.status_spoiler_button.setVisibility(View.GONE);*/
String contentCheck = "";
/*String contentCheck = "";
String content = status.getReblog() == null?status.getContent():status.getReblog().getContent();
if( content != null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
contentCheck = Html.fromHtml(content, Html.FROM_HTML_MODE_LEGACY).toString();
else
contentCheck = Html.fromHtml(content).toString();
}
}*/
if (status.getReblog() == null) {
if (status.getSpoiler_text() != null && status.getSpoiler_text().trim().length() > 0) {
holder.status_spoiler_container.setVisibility(View.VISIBLE);