Fix play all in Track collection random view

This commit is contained in:
tzugen 2023-06-01 10:28:49 +02:00
parent 21a27c691d
commit c1013f6b80
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -351,13 +351,11 @@ open class TrackCollectionFragment(
val isArtist = navArgs.isArtist
// Need a valid id to download stuff
val id = navArgs.id ?: return
if (hasSubFolders) {
// Need a valid id to recurse sub directories stuff
if (hasSubFolders && navArgs.id != null) {
downloadHandler.fetchTracksAndAddToController(
fragment = this,
id = id,
id = navArgs.id!!,
append = append,
autoPlay = !append,
shuffle = shuffle,