diff options
author | tom79 <tschneider.ac@gmail.com> | 2019-05-07 19:28:14 +0200 |
---|---|---|
committer | tom79 <tschneider.ac@gmail.com> | 2019-05-07 19:28:14 +0200 |
commit | 09bb853bf356d9809b0489790d4b7b4364a2073a (patch) | |
tree | 9052ac53b5d30340ffa4f8b3d12fe4d262c9e8da | |
parent | 71b2f15483c42a6c7bcd0857b7b508962392750e (diff) |
Fix for not cropped media
-rw-r--r-- | app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java index 01e9b284e..a1bc07ee1 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java @@ -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); - - } }); } |