diff options
author | Thomas <tschneider.ac@gmail.com> | 2022-07-15 18:18:53 +0200 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2022-07-15 18:18:53 +0200 |
commit | b360a9a82700af8bd7aafcd479303670cadaba3f (patch) | |
tree | 87fe3bb815956f7121751a1ebe405d091e15e4b3 /app/src | |
parent | 27b05d5b6bef79c2bcea6e9b09022e4857106724 (diff) |
Fix an issue with media not hidden
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 2069205ff..866143e03 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -1060,7 +1060,6 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> .load(statusToDeal.media_attachments.get(0).preview_url) .apply(new RequestOptions().transform(new BlurTransformation(50, 3))) // .apply(new RequestOptions().transform(new CenterCrop(), new RoundedCorners((int) Helper.convertDpToPixel(3, context)))) - .apply(new RequestOptions().transform(new GlideFocus(focusX, focusY))) .into(layoutMediaBinding.media); } layoutMediaBinding.viewHide.setOnClickListener(v -> { @@ -1112,7 +1111,6 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> Glide.with(layoutMediaBinding.media.getContext()) .load(attachment.preview_url) .apply(new RequestOptions().transform(new BlurTransformation(50, 3))) - .apply(new RequestOptions().transform(new GlideFocus(focusX, focusY))) // .apply(new RequestOptions().transform(new CenterCrop(), new RoundedCorners((int) Helper.convertDpToPixel(3, context)))) .into(layoutMediaBinding.media); } |