summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-19 19:12:36 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-19 19:12:36 -0800
commit6a8591beea23cf0e8aee4aede0679ae9d16cfd88 (patch)
treeb6461df3fd7db188787335e54acaf2a7682252df /MobileCydia.mm
parentb3954691a9de918878e968be54a79a9171ca4b4f (diff)
You can now tap a loading button to manage a commercial package, but not to install it.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index fffbc7f..52f2ec7 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5406,7 +5406,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) reloadButtonClicked {
- // Don't reload a package view by clicking the button.
+ // 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];
}
- (void) applyLoadingTitle {