mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-20 07:24:33 +00:00
Fix HDR selector state upon app restart
This commit is contained in:
1 parent
54d1851c78
commit
11b180d1e3
1 file changed
+1
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user