Merge pull request #5219 from Bnyro/master

fix: player resolution updates upexpectedly on fullscreen change
This commit is contained in:
Bnyro 2023-11-23 17:06:25 +01:00 committed by GitHub
commit 47f9522f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1272,7 +1272,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
if (!isFullscreen && noFullscreenResolution != null) {
setPlayerResolution(noFullscreenResolution!!)
} else {
} else if (fullscreenResolution != null) {
setPlayerResolution(fullscreenResolution ?: Int.MAX_VALUE)
}
}