fix: enableGraphsSwitch doesn't persist

This commit is contained in:
Acaki
2025-07-14 01:33:01 +08:00
parent f6032969c3
commit 37379220b4
2 changed files with 8 additions and 6 deletions
@@ -1297,6 +1297,7 @@ BOOL isCustomResolution(CGSize res) {
[self.frameQueueSizeSlider addTarget:self action:@selector(frameQueueSizeSliderMoved) forControlEvents:UIControlEventValueChanged];
[self updateFrameQueueSizeText];
[self.enableGraphsSwitch setOn:currentSettings.enableGraphs animated:NO]; // Add this line
[self.enableGraphsSwitch addTarget:self action:@selector(enableGraphsChanged) forControlEvents:UIControlEventValueChanged];
[self enableGraphsChanged];
[self.graphOpacityStepper setMinimumValue:0];