perfGraph tips

This commit is contained in:
TrueZhuanjia
2025-09-15 13:15:04 +08:00
parent 464492529e
commit e177d6eaea
2 changed files with 31 additions and 0 deletions
@@ -5278,6 +5278,29 @@
}
}
},
"This is an experimental feature that may cause stuttering or freezing in the stream view." : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "这是一项实验性功能,可能导致画面卡顿。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "這是一項實驗性功能,可能導致畫面卡頓。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "這是一項實驗性功能,可能導致畫面卡頓。"
}
}
}
},
"Tips" : {
"extractionState" : "manual",
"localizations" : {
@@ -2377,6 +2377,14 @@ BOOL isCustomResolution(int resolutionSelected) {
- (void) enableGraphsChanged:(UISwitch* )sender {
[self.graphOpacityStepper setEnabled:sender.isOn];
[self findDynamicLabelFromStack:self.graphOpacityStack].hidden = !sender.isOn;
UIAlertController *alertController = [UIAlertController alertControllerWithTitle: [LocalizationHelper localizedStringForKey:@"Tips"] message: [LocalizationHelper localizedStringForKey:@"This is an experimental feature that may cause stuttering or freezing in the stream view."] preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction *okAction = [UIAlertAction actionWithTitle:[LocalizationHelper localizedStringForKey:@"OK"]
style:UIAlertActionStyleDefault
handler:nil];
[alertController addAction:okAction];
if(sender.isOn && !settingsViewJustLoaded) [self presentViewController:alertController animated:YES completion:nil];
}
- (void) graphOpacityStepperTapped:(UIStepper* )sender {