]> git.saurik.com Git - cydia.git/commitdiff
You can now tap a loading button to manage a commercial package, but not to install it.
authorGrant Paul <chpwn@chpwn.com>
Mon, 20 Dec 2010 03:12:36 +0000 (19:12 -0800)
committerGrant Paul <chpwn@chpwn.com>
Mon, 20 Dec 2010 03:12:36 +0000 (19:12 -0800)
MobileCydia.mm

index fffbc7fddbe76af055545a5352282eae0310e355..52f2ec70ab5aa393e07d08bf05ec303340183fb4 100644 (file)
@@ -5406,7 +5406,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 
 - (void) reloadButtonClicked {
 }
 
 - (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 {
 }
 
 - (void) applyLoadingTitle {