From 864db79b71f7e38c80acd3bf341e0dc9cb1bc871 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 5 Nov 2010 05:07:58 -0700 Subject: [PATCH 1/1] Redid chpwn's code to match physical formatting guidelines. :( --- MobileCydia.mm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index fd4399b6..97cc8c1f 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4953,7 +4953,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } [self setAccessoryType:editing ? UITableViewCellAccessoryNone : UITableViewCellAccessoryDisclosureIndicator]; - [self setSelectionStyle:editing ? UITableViewCellSelectionStyleNone : UITableViewCellSelectionStyleBlue]; + [self setSelectionStyle:editing ? UITableViewCellSelectionStyleNone : UITableViewCellSelectionStyleBlue]; + [content_ setNeedsDisplay]; } @@ -6763,9 +6764,10 @@ freeing the view controllers on tab change */ } - (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - if (editing_) return; + if (editing_) + return; - Section *section = [self sectionAtIndexPath:indexPath]; + Section *section = [self sectionAtIndexPath:indexPath]; NSString *name = [section name]; NSString *title; -- 2.45.2