mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Improve double tap on center of player
This commit is contained in:
parent
4bd2d473bf
commit
b3ffb226d4
@ -618,10 +618,8 @@ internal class CustomExoPlayerView(
|
||||
player?.let { player ->
|
||||
if (player.isPlaying) {
|
||||
player.pause()
|
||||
if (!isControllerFullyVisible) showController()
|
||||
} else {
|
||||
player.play()
|
||||
if (isControllerFullyVisible) hideController()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user