|
@@ -185,7 +185,9 @@
|
|
|
[CCUtility setDisableCrashservice:[[rowDescriptor.value valueData] boolValue]];
|
|
|
|
|
|
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"_crashservice_title_", nil) message:NSLocalizedString(@"_crashservice_alert_", nil) preferredStyle:UIAlertControllerStyleAlert];
|
|
|
- UIAlertAction *okAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"_ok_", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {}];
|
|
|
+ UIAlertAction *okAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"_ok_", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
|
|
|
+ exit(0);
|
|
|
+ }];
|
|
|
|
|
|
[alertController addAction:okAction];
|
|
|
[self presentViewController:alertController animated:YES completion:nil];
|