Fixed shuffle button not shuffling songs

This commit is contained in:
Prathamesh More 2022-03-27 14:36:35 +05:30
parent 97f93e09d6
commit ead8520333
2 changed files with 3 additions and 2 deletions

View file

@ -302,7 +302,7 @@ object MusicPlayerRemote : KoinComponent {
fun setShuffleMode(shuffleMode: Int): Boolean {
if (musicService != null) {
musicService!!.shuffleMode = shuffleMode
musicService!!.setShuffleMode(shuffleMode)
return true
}
return false