summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-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 {