summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2013-10-27 19:27:47 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2013-10-27 19:27:47 -0700
commit9374f6b0cf35fa286a854f20eb376777e7480c3c (patch)
tree885f2ed103c6b2be551fc42ec3e832e24c5fc61d
parent6445279ba16f6b45769f65ab9386af5b3c2fc506 (diff)
Always show the short description (even on iPad).
-rw-r--r--MobileCydia.mm9
1 files changed, 1 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8298c37..2ac24f5 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5566,14 +5566,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if (NSString *name = [package name])
name_ = [NSString stringWithString:name];
- NSString *description(nil);
-
- if (description == nil && IsWildcat_)
- description = [package longDescription];
- if (description == nil)
- description = [package shortDescription];
-
- if (description != nil)
+ if (NSString *description = [package shortDescription])
description_ = [NSString stringWithString:description];
commercial_ = [package isCommercial];