]> git.saurik.com Git - cydia.git/commitdiff
Always show the short description (even on iPad).
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 28 Oct 2013 02:27:47 +0000 (19:27 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 28 Oct 2013 02:27:47 +0000 (19:27 -0700)
MobileCydia.mm

index 8298c374bdd48d92bcb872bf0ba6dadfb9161cc6..2ac24f55db94a34c2530020821e688bba865c8fc 100644 (file)
@@ -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];