From: Grant Paul Date: Wed, 17 Nov 2010 01:27:24 +0000 (-0800) Subject: Don't show role::cydia packages in Expert mode of the installed page. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/0df874bdd0eb406410000fefe47798010605de8d Don't show role::cydia packages in Expert mode of the installed page. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index d9b1466f..151cae37 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 {