mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
Merge pull request #5219 from Bnyro/master
fix: player resolution updates upexpectedly on fullscreen change
This commit is contained in:
commit
47f9522f7c
@ -1272,7 +1272,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
|
||||
if (!isFullscreen && noFullscreenResolution != null) {
|
||||
setPlayerResolution(noFullscreenResolution!!)
|
||||
} else {
|
||||
} else if (fullscreenResolution != null) {
|
||||
setPlayerResolution(fullscreenResolution ?: Int.MAX_VALUE)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user