From: Jay Freeman (saurik) Date: Fri, 5 Nov 2010 12:07:58 +0000 (-0700) Subject: Redid chpwn's code to match physical formatting guidelines. :( X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/864db79b71f7e38c80acd3bf341e0dc9cb1bc871?ds=sidebyside;hp=55565aa334455894b1b742c6df82df271d79f84a Redid chpwn's code to match physical formatting guidelines. :( --- 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;