mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Null checking
This commit is contained in:
parent
4bcca0e5ad
commit
483ce56277
1 changed files with 3 additions and 1 deletions
|
|
@ -195,7 +195,9 @@ public class PlayerControllerFragment extends Fragment {
|
|||
dialog.show(requireActivity().getSupportFragmentManager(), null);
|
||||
});
|
||||
|
||||
playerBottomSheetViewModel.refreshSongInfo(requireActivity(), song);
|
||||
if (getActivity() != null) {
|
||||
playerBottomSheetViewModel.refreshSongInfo(requireActivity(), song);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue