mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-04-06 07:00:01 +03: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) {
|
if (binding == null || !isAdded() || getActivity() == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
binding.mediaPicture.setZoomable(true);
|
||||||
binding.mediaPicture.setImageDrawable(resource);
|
binding.mediaPicture.setImageDrawable(resource);
|
||||||
|
|
||||||
if (attachment.type.equalsIgnoreCase("image") && !attachment.url.toLowerCase().endsWith(".gif")) {
|
if (attachment.type.equalsIgnoreCase("image") && !attachment.url.toLowerCase().endsWith(".gif")) {
|
||||||
|
|
Loading…
Reference in a new issue