Fix forward and rewind buttons when player locked

This commit is contained in:
Bnyro 2023-03-21 19:23:41 +01:00
parent aaae5d81ac
commit 9ff86d3155

View File

@ -373,6 +373,11 @@ internal class CustomExoPlayerView(
binding.exoTitle.visibility = visibility
binding.playPauseBTN.visibility = visibility
if (!PlayerHelper.doubleTapToSeek) {
binding.rewindBTN.visibility = visibility
binding.forwardBTN.visibility = visibility
}
// hide the dimming background overlay if locked
binding.exoControlsBackground.setBackgroundColor(
if (isLocked) {