summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-05-16 15:54:12 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-05-16 15:54:34 -0700
commit9d00dfafd25443077e266f23afcb94055af55ff4 (patch)
tree6b59617e5b167913c6cb0aa8d338c5ed44034cf5 /MobileCydia.mm
parent51807490b9d639cc4bad27817134e597743e6336 (diff)
New role changes broke Simple/Expert abstraction.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 787a78e..2fcb90e 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3173,7 +3173,7 @@ struct PackageNameOrdering :
}
- (bool) isInstalledAndUnfiltered:(NSNumber *)number {
- return ![self uninstalled] && (![number boolValue] && role_ != 7 || [self unfiltered]);
+ return ![self uninstalled] && role_ <= ([number boolValue] ? 1 : 3);
}
- (bool) isVisibleInSection:(NSString *)name source:(Source *)source {