platform/iphone/Classes/LogOptionsController.m in rhodes-6.0.11 vs platform/iphone/Classes/LogOptionsController.m in rhodes-6.2.0
- old
+ new
@@ -180,16 +180,16 @@
categories = [text cStringUsingEncoding:[NSString defaultCStringEncoding]];
rho_logconf_setDisabledCategories(categories);
rho_logconf_setSeverity(selectedRow);
rho_logconf_saveSettings();
- [self dismissModalViewControllerAnimated:YES];
+ [self ddismissViewControllerAnimated:YES completion:nil];
self.view.hidden = YES;
}
- (void)actionCancel:(id)sender
{
- [self dismissModalViewControllerAnimated:YES];
+ [self dismissViewControllerAnimated:YES completion:nil];
self.view.hidden = YES;
}
// this helps dismiss the keyboard then the "done" button is clicked
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {