summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-11-16 17:27:24 -0800
committerGrant Paul <chpwn@chpwn.com>2010-11-16 17:27:24 -0800
commit84ec835a4ba30555aaf6ed2e08096229e003272e (patch)
tree72fe04879c41230547d94a8ba0c06fe9b16706ac
parent8576ab50f62f4141e00aca90c96c75266df1375e (diff)
Don't show role::cydia packages in Expert mode of the installed page.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index d9b1466..151cae3 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -2824,7 +2824,7 @@ struct PackageNameOrdering :
}
- (bool) isInstalledAndVisible:(NSNumber *)number {
- return (![number boolValue] || [self visible]) && ![self uninstalled];
+ return ((![number boolValue] && ![role_ isEqualToString:@"cydia"]) || [self visible]) && ![self uninstalled];
}
- (bool) isVisibleInSection:(NSString *)name {