issue with media size when opening

This commit is contained in:
Thomas 2023-02-15 15:54:59 +01:00
parent 8079a213f7
commit a4ec09dc61

View file

@ -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")) {