mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Merge pull request #2961 from Bnyro/master
Improve double tap on center of player
This commit is contained in:
commit
3565b72afc
@ -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…
x
Reference in New Issue
Block a user