Fix a crash with null media URLs

fetch_indicator
Thomas 2 years ago
parent da67ec0e03
commit bc27445103

@ -236,7 +236,7 @@ public class FragmentMedia extends Fragment {
}
private void loadVideo(String url, String type) {
if (binding == null || !isAdded() || getActivity() == null) {
if (binding == null || !isAdded() || getActivity() == null || url == null) {
return;
}
binding.pbarInf.setIndeterminate(false);

Loading…
Cancel
Save