From 9374f6b0cf35fa286a854f20eb376777e7480c3c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 27 Oct 2013 19:27:47 -0700 Subject: Always show the short description (even on iPad). --- MobileCydia.mm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'MobileCydia.mm') 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]; -- cgit v1.2.3