From: Jay Freeman (saurik) Date: Mon, 28 Oct 2013 02:27:47 +0000 (-0700) Subject: Always show the short description (even on iPad). X-Git-Tag: v1.1.9~22 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/9374f6b0cf35fa286a854f20eb376777e7480c3c Always show the short description (even on iPad). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 8298c374..2ac24f55 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];