diff --git a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt index 87f7bdf55..57755dad2 100644 --- a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt @@ -952,12 +952,14 @@ class PlayerFragment : Fragment() { } private fun lockPlayer(isLocked: Boolean) { - val visibility = if (isLocked) View.VISIBLE else View.GONE - exoPlayerView.findViewById(R.id.controls_top_right).visibility = visibility + val visibility = if (isLocked) View.VISIBLE else View.INVISIBLE + exoPlayerView.findViewById(R.id.exo_top_bar_right).visibility = visibility exoPlayerView.findViewById(R.id.exo_play_pause).visibility = visibility exoPlayerView.findViewById