Merge pull request #3336 from Bnyro/master

Fix forward and rewind buttons when player locked
This commit is contained in:
Bnyro 2023-03-21 19:24:00 +01:00 committed by GitHub
commit 2bd4ccfd31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {