mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Merge pull request #3336 from Bnyro/master
Fix forward and rewind buttons when player locked
This commit is contained in:
commit
2bd4ccfd31
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user