Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f13a96f1
Commit
f13a96f1
authored
Jun 17, 2013
by
Gleb Pinigin
Browse files
InAppSettingsKit: prevent from removing custom Done button
parent
82c78cd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
patches/inappsettingskit/0002-Prevent-from-removing-custom-done-button.patch
0 → 100644
View file @
f13a96f1
From bb9b84ca07e36e0778e162c3afebbf5cf1d55837 Mon Sep 17 00:00:00 2001
From: Gleb Pinigin <gpinigin@gmail.com>
Date: Mon, 17 Jun 2013 08:12:46 +0700
Subject: [PATCH 2/2] Prevent from removing custom done button
---
InAppSettingsKit/Controllers/IASKAppSettingsViewController.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m b/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
index e90d91f..f393909 100644
--- a/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
+++ b/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
@@ -175,7 +175,6 @@
CGRect IASKCGRectSwap(CGRect rect);
[self.tableView selectRowAtIndexPath:selectedIndexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
}
- self.navigationItem.rightBarButtonItem = nil;
if (_showDoneButton) {
UIBarButtonItem *buttonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
target:self
--
1.7.12.4 (Apple Git-37)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment