Tweak code

This commit is contained in:
vfsfitvnm
2022-06-17 15:27:12 +02:00
parent 2877009db4
commit c2db7042c4
4 changed files with 11 additions and 27 deletions

View File

@@ -90,7 +90,6 @@ fun PlayerSettingsScreen() {
LaunchedEffect(mediaController) {
while (isActive) {
println("mediaController: $mediaController")
sleepTimerMillisLeft =
mediaController?.syncCommand(GetSleepTimerMillisLeftCommand)
?.takeIf { it.resultCode == SessionResult.RESULT_SUCCESS }