mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
Fix HDR selector state upon app restart
This commit is contained in:
parent
54d1851c78
commit
11b180d1e3
@ -218,6 +218,7 @@ BOOL isCustomResolution(CGSize res) {
|
||||
[self.hdrSelector setEnabled:NO];
|
||||
}
|
||||
else {
|
||||
[self.hdrSelector setSelectedSegmentIndex:currentSettings.enableHdr ? 1 : 0];
|
||||
[self.hdrSelector addTarget:self action:@selector(hdrStateChanged) forControlEvents:UIControlEventValueChanged];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user