mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #5559 from Bnyro/master
fix: don't toggle system bars in player fragment when locking player
This commit is contained in:
commit
c086379959
@ -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