summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {