mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-06-06 10:33:05 +03:00
Fix play all in Track collection random view
This commit is contained in:
parent
21a27c691d
commit
c1013f6b80
@ -351,13 +351,11 @@ open class TrackCollectionFragment(
|
|||||||
|
|
||||||
val isArtist = navArgs.isArtist
|
val isArtist = navArgs.isArtist
|
||||||
|
|
||||||
// Need a valid id to download stuff
|
// Need a valid id to recurse sub directories stuff
|
||||||
val id = navArgs.id ?: return
|
if (hasSubFolders && navArgs.id != null) {
|
||||||
|
|
||||||
if (hasSubFolders) {
|
|
||||||
downloadHandler.fetchTracksAndAddToController(
|
downloadHandler.fetchTracksAndAddToController(
|
||||||
fragment = this,
|
fragment = this,
|
||||||
id = id,
|
id = navArgs.id!!,
|
||||||
append = append,
|
append = append,
|
||||||
autoPlay = !append,
|
autoPlay = !append,
|
||||||
shuffle = shuffle,
|
shuffle = shuffle,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user