mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-15 21:21:45 +00:00
Fix HDR selector state upon app restart
This commit is contained in:
@@ -218,6 +218,7 @@ BOOL isCustomResolution(CGSize res) {
|
|||||||
[self.hdrSelector setEnabled:NO];
|
[self.hdrSelector setEnabled:NO];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
[self.hdrSelector setSelectedSegmentIndex:currentSettings.enableHdr ? 1 : 0];
|
||||||
[self.hdrSelector addTarget:self action:@selector(hdrStateChanged) forControlEvents:UIControlEventValueChanged];
|
[self.hdrSelector addTarget:self action:@selector(hdrStateChanged) forControlEvents:UIControlEventValueChanged];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user