Dispose PlayerState

This commit is contained in:
vfsfitvnm
2022-06-28 10:43:56 +02:00
parent 8155294516
commit c74a8f9f07
4 changed files with 62 additions and 59 deletions

View File

@@ -73,7 +73,7 @@ fun PlayerView(
val context = LocalContext.current
val player = binder?.player
val playerState = rememberYoutubePlayer(player)
val playerState = rememberPlayerState(player)
val coroutineScope = rememberCoroutineScope()