Fix a crash

custom_intent
Thomas 10 months ago
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…
Cancel
Save