fix: don't toggle system bars in player fragment when locking player

This commit is contained in:
Bnyro 2024-01-26 14:19:35 +01:00
parent 12b5bfeab1
commit a5af986c13

View File

@ -146,7 +146,7 @@ open class CustomExoPlayerView(
// change locked status
isPlayerLocked = !isPlayerLocked
toggleSystemBars(!isPlayerLocked)
if (isFullscreen()) toggleSystemBars(!isPlayerLocked)
}
resizeMode = when (resizeModePref) {