Almost forgot this

This commit is contained in:
Duy Tran Khanh 2024-01-23 18:47:55 +07:00 committed by GitHub
parent 647f43087c
commit 4bfc994f70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ UIImage* imageWithSize(UIImage* image, CGSize size)
int ret = [appsManager enableJITForBundleID:appId]; int ret = [appsManager enableJITForBundleID:appId];
if (ret != 0) if (ret != 0)
{ {
UIAlertController* errorAlert = [UIAlertController alertControllerWithTitle:@"Error" message:[NSString stringWithFormat:@"Error enabling JIT: trollstorejithelper returned %d", ret] preferredStyle:UIAlertControllerStyleAlert]; UIAlertController* errorAlert = [UIAlertController alertControllerWithTitle:@"Error" message:[NSString stringWithFormat:@"Error enabling JIT: trollstorehelper returned %d", ret] preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* closeAction = [UIAlertAction actionWithTitle:@"Close" style:UIAlertActionStyleDefault handler:nil]; UIAlertAction* closeAction = [UIAlertAction actionWithTitle:@"Close" style:UIAlertActionStyleDefault handler:nil];
[errorAlert addAction:closeAction]; [errorAlert addAction:closeAction];
[TSPresentationDelegate presentViewController:errorAlert animated:YES completion:nil]; [TSPresentationDelegate presentViewController:errorAlert animated:YES completion:nil];