]> git.saurik.com Git - cydia.git/commitdiff
Allow users to click loading customized buttons.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 10 Sep 2012 16:25:25 +0000 (09:25 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 10 Sep 2012 16:25:25 +0000 (09:25 -0700)
MobileCydia.mm

index 023a6d9676062229150571d554f9d6689688e3a0..3b3347f1722c00fac52bc0bff6029b54a5c295cd 100644 (file)
@@ -6055,10 +6055,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 
 - (void) reloadButtonClicked {
-    // Don't reload a commerical package by tapping the loading button,
-    // but if it's not an Install button, we should forward it on.
-    if (![package_ uninstalled])
-        [self _customButtonClicked];
+    if (commercial_ && function_ == nil && [package_ uninstalled])
+        return;
+    [self customButtonClicked];
 }
 
 - (void) applyLoadingTitle {