diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-05 05:07:58 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-05 05:07:58 -0700 |
commit | 0abb648c0c64093f44849c6fea6023686dc485f4 (patch) | |
tree | c817dcd939a31f4e35435c9071b4d1efedf47e75 | |
parent | d711ccfe420f3c91c74d05b543e07b85d9c609ec (diff) |
Redid chpwn's code to match physical formatting guidelines. :(
-rw-r--r-- | MobileCydia.mm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index fd4399b..97cc8c1 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; |