mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Fix forward and rewind buttons when player locked
This commit is contained in:
parent
aaae5d81ac
commit
9ff86d3155
@ -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…
x
Reference in New Issue
Block a user