mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40: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
|
// FullScreen button trigger
|
||||||
// hide fullscreen button if auto rotation enabled
|
// hide fullscreen button if auto rotation enabled
|
||||||
playerBinding.fullscreen.visibility =
|
playerBinding.fullscreen.visibility =
|
||||||
if (PlayerHelper.autoRotationEnabled) View.GONE else View.VISIBLE
|
if (PlayerHelper.autoRotationEnabled) View.INVISIBLE else View.VISIBLE
|
||||||
playerBinding.fullscreen.setOnClickListener {
|
playerBinding.fullscreen.setOnClickListener {
|
||||||
// hide player controller
|
// hide player controller
|
||||||
exoPlayerView.hideController()
|
exoPlayerView.hideController()
|
||||||
|
Loading…
Reference in New Issue
Block a user