mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: shuffle button crash when playlist is empty
This commit is contained in:
parent
5b00c468b7
commit
11d8730fab
@ -253,7 +253,7 @@ class PlaylistFragment : DynamicLayoutManagerFragment() {
|
||||
PlayingQueue.add(*queue.toTypedArray())
|
||||
NavigationHelper.navigateVideo(
|
||||
requireContext(),
|
||||
queue.first().url,
|
||||
queue.firstOrNull()?.url,
|
||||
playlistId = playlistId,
|
||||
keepQueue = true
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user