fullscreen cleanup
This commit is contained in:
parent
19a48c45a6
commit
3199cdf80f
|
@ -70,10 +70,6 @@ class VideoPlayerFragment() : Fragment() {
|
|||
dimensionRatio = "$ratio:1"
|
||||
}
|
||||
}
|
||||
|
||||
override fun switchToFullscreen() {
|
||||
//println("gurken fullscreen")
|
||||
}
|
||||
}
|
||||
|
||||
composeView.apply {
|
||||
|
|
|
@ -76,7 +76,6 @@ interface VideoPlayerViewModel {
|
|||
|
||||
interface Listener {
|
||||
fun requestUpdateLayoutRatio(ratio: Float)
|
||||
fun switchToFullscreen()
|
||||
}
|
||||
|
||||
sealed class Events {
|
||||
|
@ -196,6 +195,7 @@ class VideoPlayerViewModelImpl @Inject constructor(
|
|||
}
|
||||
|
||||
override fun switchToFullscreen() {
|
||||
|
||||
viewModelScope.launch {
|
||||
mutableEvent.emit(VideoPlayerViewModel.Events.SwitchToFullscreen)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue