mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-20 15:28:04 +00:00
Ensure the HEVC selector is set appropriately upon startup
This commit is contained in:
1 parent
11b180d1e3
commit
e79faba87d
1 file changed
+3
@@ -220,6 +220,9 @@ BOOL isCustomResolution(CGSize res) {
|
||||
else {
|
||||
[self.hdrSelector setSelectedSegmentIndex:currentSettings.enableHdr ? 1 : 0];
|
||||
[self.hdrSelector addTarget:self action:@selector(hdrStateChanged) forControlEvents:UIControlEventValueChanged];
|
||||
|
||||
// Manually trigger the hdrStateChanged callback to set the HEVC selector appropriately
|
||||
[self hdrStateChanged];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user