Fix for not cropped media

This commit is contained in:
tom79 2019-05-07 19:28:14 +02:00
parent 71b2f15483
commit 09bb853bf3
1 changed files with 0 additions and 10 deletions

View File

@ -1538,13 +1538,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
}
if( fullAttachement){
int heigh = holder.status_horizontal_document_container.getHeight();
RelativeLayout.LayoutParams rel_btn = new RelativeLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT, heigh);
holder.status_show_more.setLayoutParams(rel_btn);
}
if (status.getReblog() == null) {
if (status.getMedia_attachments().size() < 1) {
holder.status_horizontal_document_container.setVisibility(View.GONE);
@ -2956,9 +2949,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
resource = Bitmap.createScaledBitmap(resource, width, height, false);
}
imageView.setImageBitmap(resource);
notifyStatusChanged(status);
}
});
}