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-Tag: v1.0.3366~26 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/84ec835a4ba30555aaf6ed2e08096229e003272e 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 {