fullscreen cleanup

This commit is contained in:
Christian Schabesberger 2024-07-17 18:28:44 +02:00
parent 19a48c45a6
commit 3199cdf80f
2 changed files with 1 additions and 5 deletions

View File

@ -70,10 +70,6 @@ class VideoPlayerFragment() : Fragment() {
dimensionRatio = "$ratio:1"
}
}
override fun switchToFullscreen() {
//println("gurken fullscreen")
}
}
composeView.apply {

View File

@ -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)
}