From 84ec835a4ba30555aaf6ed2e08096229e003272e Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Tue, 16 Nov 2010 17:27:24 -0800 Subject: Don't show role::cydia packages in Expert mode of the installed page. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MobileCydia.mm') 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 { -- cgit v1.2.3