Fix for not cropped media
This commit is contained in:
parent
71b2f15483
commit
09bb853bf3
|
@ -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);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue