fix player view when auto fullscreen enabled

This commit is contained in:
Bnyro 2022-11-12 10:03:25 +01:00
parent 3c20cd32b4
commit 4bf1c72b72

View File

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