mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
fix player view when auto fullscreen enabled
This commit is contained in:
parent
3c20cd32b4
commit
4bf1c72b72
@ -331,7 +331,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
|
||||
// FullScreen button trigger
|
||||
// hide fullscreen button if auto rotation enabled
|
||||
playerBinding.fullscreen.visibility =
|
||||
if (PlayerHelper.autoRotationEnabled) View.GONE else View.VISIBLE
|
||||
if (PlayerHelper.autoRotationEnabled) View.INVISIBLE else View.VISIBLE
|
||||
playerBinding.fullscreen.setOnClickListener {
|
||||
// hide player controller
|
||||
exoPlayerView.hideController()
|
||||
|
Loading…
Reference in New Issue
Block a user