mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix: player resolution updates upexpectedly on fullscreen change
This commit is contained in:
parent
a694d2ead1
commit
10f32e37a9
@ -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