Runs the DisposableEffect before moving to load the video.

pull/531/head
Vitor Pamplona 2023-07-25 09:03:56 -04:00
rodzic 39fccd5442
commit a2d9a3f770
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -324,10 +324,6 @@ fun GetVideoController(
}
}
controller.value?.let {
inner(it, keepPlaying)
}
// User pauses and resumes the app. What to do with videos?
val scope = rememberCoroutineScope()
val lifeCycleOwner = LocalLifecycleOwner.current
@ -392,6 +388,10 @@ fun GetVideoController(
}
}
}
controller.value?.let {
inner(it, keepPlaying)
}
}
// background playing mutex.