Tweak code
This commit is contained in:
@@ -90,7 +90,6 @@ fun PlayerSettingsScreen() {
|
||||
|
||||
LaunchedEffect(mediaController) {
|
||||
while (isActive) {
|
||||
println("mediaController: $mediaController")
|
||||
sleepTimerMillisLeft =
|
||||
mediaController?.syncCommand(GetSleepTimerMillisLeftCommand)
|
||||
?.takeIf { it.resultCode == SessionResult.RESULT_SUCCESS }
|
||||
|
||||
Reference in New Issue
Block a user