Make PlayerState stable

This commit is contained in:
vfsfitvnm
2022-06-25 18:35:31 +02:00
parent db42617afc
commit ac26e61856
2 changed files with 20 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ import it.vfsfitvnm.youtubemusic.YouTube
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class YoutubePlayer(mediaController: Player) : PlayerState(mediaController) {
class YoutubePlayer(player: Player) : PlayerState(player) {
data class Radio(
private val videoId: String? = null,
private val playlistId: String? = null,