Null checking

This commit is contained in:
CappielloAntonio committed 2022-01-04 10:40:45 +01:00
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);
}
}
});
}