diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-17 17:06:59 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-17 17:06:59 -0800 |
commit | bcde1e7004f2ebaa757a1fd9109211d57dcccbc7 (patch) | |
tree | b901e1819d89ea3b63b51e2a7683995d585b3bc7 | |
parent | d6c371f51efeaede0a3a0f83af43c68d8d50e111 (diff) |
Reload/nil buttons for ConfirmationController were backwards.
-rw-r--r-- | MobileCydia.mm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index f5a0eb2..b4bbff3 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4409,8 +4409,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } return self; } -- (void) applyRightButton { #if !AlwaysReload +- (void) applyRightButton { if (issues_ == nil && ![self isLoading]) [[self navigationItem] setRightBarButtonItem:[[[UIBarButtonItem alloc] initWithTitle:UCLocalize("CONFIRM") @@ -4419,11 +4419,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { action:@selector(confirmButtonClicked) ] autorelease]]; else - [super applyRightButton]; -#else - [[self navigationItem] setRightBarButtonItem:nil]; -#endif + [[self navigationItem] setRightBarButtonItem:nil]; } +#endif - (void) cancelButtonClicked { [self dismissModalViewControllerAnimated:YES]; |