Commit 85da8de6 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix runtime exception when dismissing Settings panel

parent c2ea03fd
......@@ -248,7 +248,7 @@
if (!self.settingsViewController) {
self.settingsViewController = [[IASKAppSettingsViewController alloc] initWithStyle:UITableViewStyleGrouped];
self.settingsController.viewController = self.settingsViewController;
self.settingsViewController.navigationItem.leftBarButtonItem = [UIBarButtonItem themedRevealMenuButtonWithTarget:self.settingsController andSelector:@selector(dismiss:)];
self.settingsViewController.navigationItem.leftBarButtonItem = [UIBarButtonItem themedRevealMenuButtonWithTarget:self.settingsController.viewController andSelector:@selector(dismiss:)];
}
self.settingsViewController.modalPresentationStyle = UIModalPresentationFormSheet;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment