Merge pull request #5559 from Bnyro/master

fix: don't toggle system bars in player fragment when locking player
This commit is contained in:
Bnyro 2024-01-26 14:20:04 +01:00 committed by GitHub
commit c086379959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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