mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
fix: don't toggle system bars in player fragment when locking player
This commit is contained in:
parent
12b5bfeab1
commit
a5af986c13
@ -146,7 +146,7 @@ open class CustomExoPlayerView(
|
|||||||
// change locked status
|
// change locked status
|
||||||
isPlayerLocked = !isPlayerLocked
|
isPlayerLocked = !isPlayerLocked
|
||||||
|
|
||||||
toggleSystemBars(!isPlayerLocked)
|
if (isFullscreen()) toggleSystemBars(!isPlayerLocked)
|
||||||
}
|
}
|
||||||
|
|
||||||
resizeMode = when (resizeModePref) {
|
resizeMode = when (resizeModePref) {
|
||||||
|
Loading…
Reference in New Issue
Block a user