mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 10:31:02 +00:00
Ensure the HEVC selector is set appropriately upon startup
This commit is contained in:
@@ -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