kopia lustrzana https://github.com/vitorpamplona/amethyst
Runs the DisposableEffect before moving to load the video.
rodzic
39fccd5442
commit
a2d9a3f770
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue