mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-05 00:33:06 +00:00
Null checking
This commit is contained in:
@@ -195,7 +195,9 @@ public class PlayerControllerFragment extends Fragment {
|
|||||||
dialog.show(requireActivity().getSupportFragmentManager(), null);
|
dialog.show(requireActivity().getSupportFragmentManager(), null);
|
||||||
});
|
});
|
||||||
|
|
||||||
playerBottomSheetViewModel.refreshSongInfo(requireActivity(), song);
|
if (getActivity() != null) {
|
||||||
|
playerBottomSheetViewModel.refreshSongInfo(requireActivity(), song);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user