mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20: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.exoTitle.visibility = visibility
|
||||||
binding.playPauseBTN.visibility = visibility
|
binding.playPauseBTN.visibility = visibility
|
||||||
|
|
||||||
|
if (!PlayerHelper.doubleTapToSeek) {
|
||||||
|
binding.rewindBTN.visibility = visibility
|
||||||
|
binding.forwardBTN.visibility = visibility
|
||||||
|
}
|
||||||
|
|
||||||
// hide the dimming background overlay if locked
|
// hide the dimming background overlay if locked
|
||||||
binding.exoControlsBackground.setBackgroundColor(
|
binding.exoControlsBackground.setBackgroundColor(
|
||||||
if (isLocked) {
|
if (isLocked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user