mirror of
https://codeberg.org/tom79/Fedilab
synced 2025-01-31 11:34:51 +01:00
Fix a crash
This commit is contained in:
parent
e589e2549d
commit
16686e88eb
@ -395,7 +395,9 @@ public class FragmentMedia extends Fragment {
|
||||
@Override
|
||||
public boolean onPreDraw() {
|
||||
imageView.getViewTreeObserver().removeOnPreDrawListener(this);
|
||||
if (isAdded()) {
|
||||
ActivityCompat.startPostponedEnterTransition(requireActivity());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user