mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Merge pull request #6561 from Relwi/master
fix: shuffle button crash when playlist is empty
This commit is contained in:
commit
7d9782ec91
@ -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