mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
issue with media size when opening
This commit is contained in:
parent
8079a213f7
commit
a4ec09dc61
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ public class FragmentMedia extends Fragment {
|
|||
if (binding == null || !isAdded() || getActivity() == null) {
|
||||
return;
|
||||
}
|
||||
binding.mediaPicture.setZoomable(true);
|
||||
binding.mediaPicture.setImageDrawable(resource);
|
||||
|
||||
if (attachment.type.equalsIgnoreCase("image") && !attachment.url.toLowerCase().endsWith(".gif")) {
|
||||
|
|
Loading…
Reference in a new issue