UI tip update

This commit is contained in:
True Zhuanjia
2026-02-27 00:48:46 +08:00
parent d0b45a019f
commit d76f404a4c
3 changed files with 74 additions and 5 deletions
@@ -1665,9 +1665,22 @@
}
- (void)presentPressureCurveVC{
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
[self presentViewController:pressureCurveVC animated:YES completion:nil];
if(_oscProfile.pressureCurveEnabled){
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
[self presentViewController:pressureCurveVC animated:YES completion:nil];
}
else{
AlertControllerUtil.autoCompletion = true;
[AlertControllerUtil showAlertIn:self
title:@""
message:[LocalizationHelper localizedStringForKey:@"Please enable pressure curve in settings menu"]
withCancel:NO
buttonTitle:@""
countdown:2
action:^{}
completion:^{}];
}
}
#if !TARGET_OS_TV