Null checking
This commit is contained in:
1 parent
4bcca0e5ad
commit
483ce56277
1 file changed
+2
@@ -195,8 +195,10 @@ public class PlayerControllerFragment extends Fragment {
|
||||
dialog.show(requireActivity().getSupportFragmentManager(), null);
|
||||
});
|
||||
|
||||
if (getActivity() != null) {
|
||||
playerBottomSheetViewModel.refreshSongInfo(requireActivity(), song);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user