]> git.saurik.com Git - cydia.git/blobdiff - MobileCydia.mm
Don't show role::cydia packages in Expert mode of the installed page.
[cydia.git] / MobileCydia.mm
index d9b1466fbe3f213b55a4e9292811415ee070c4fc..151cae371787e57c8cabd34f74f5001dca9c9579 100644 (file)
@@ -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 {