Fix HDR selector state upon app restart
This commit is contained in:
parent
54d1851c78
commit
11b180d1e3
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue