diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-11-16 17:27:24 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2010-11-16 17:27:24 -0800 |
commit | 84ec835a4ba30555aaf6ed2e08096229e003272e (patch) | |
tree | 72fe04879c41230547d94a8ba0c06fe9b16706ac /MobileCydia.mm | |
parent | 8576ab50f62f4141e00aca90c96c75266df1375e (diff) |
Don't show role::cydia packages in Expert mode of the installed page.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 2 |
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 { |