mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
fix playlists crash
This commit is contained in:
parent
48564ed3c6
commit
0583f005e8
@ -123,9 +123,10 @@ class PlaylistFragment : BaseFragment() {
|
||||
}
|
||||
|
||||
binding.playAll.setOnClickListener {
|
||||
if (response.relatedStreams.orEmpty().isEmpty()) return@setOnClickListener
|
||||
NavigationHelper.navigateVideo(
|
||||
requireContext(),
|
||||
response.relatedStreams?.first()?.url?.toID(),
|
||||
response.relatedStreams!!.first().url?.toID(),
|
||||
playlistId
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user