0002-Prevent-from-removing-custom-done-button.patch 1.0 KB

12345678910111213141516171819202122232425
  1. From bb9b84ca07e36e0778e162c3afebbf5cf1d55837 Mon Sep 17 00:00:00 2001
  2. From: Gleb Pinigin <gpinigin@gmail.com>
  3. Date: Mon, 17 Jun 2013 08:12:46 +0700
  4. Subject: [PATCH 2/2] Prevent from removing custom done button
  5. ---
  6. InAppSettingsKit/Controllers/IASKAppSettingsViewController.m | 1 -
  7. 1 file changed, 1 deletion(-)
  8. diff --git a/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m b/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
  9. index e90d91f..f393909 100644
  10. --- a/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
  11. +++ b/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
  12. @@ -175,7 +175,6 @@ CGRect IASKCGRectSwap(CGRect rect);
  13. [self.tableView selectRowAtIndexPath:selectedIndexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
  14. }
  15. - self.navigationItem.rightBarButtonItem = nil;
  16. if (_showDoneButton) {
  17. UIBarButtonItem *buttonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
  18. target:self
  19. --
  20. 1.7.12.4 (Apple Git-37)