mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
start a shuffled queue from the album and playlist shuffle buttons
This commit is contained in:
@@ -38,4 +38,10 @@ class AlbumDetailViewModel(
|
||||
playbackController.playAlbum(sourceId.first(), albumId, startIndex.toLong())
|
||||
}
|
||||
}
|
||||
|
||||
fun shuffle() {
|
||||
viewModelScope.launch {
|
||||
playbackController.shuffleAlbum(sourceId.first(), albumId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user