summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2012-09-10 09:25:25 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2012-09-10 09:25:25 -0700
commit07d0e88e46b7e041b64dc2aaeae3f415a9437e5e (patch)
treed50a178ce6399dd35317d8acdbd35f8fa6ade69b
parent87e10dad740bf8bd30545f2aaf36316c85b35961 (diff)
Allow users to click loading customized buttons.
-rw-r--r--MobileCydia.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 023a6d9..3b3347f 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {