summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 25b3a7e..c5b0bab 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7600,7 +7600,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if (package_ == nil)
return 0;
- return 2;
+ if ([package_ installed] == nil)
+ return 1;
+ else
+ return 2;
}
- (NSString *) tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {