From 07d0e88e46b7e041b64dc2aaeae3f415a9437e5e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 10 Sep 2012 09:25:25 -0700 Subject: [PATCH] Allow users to click loading customized buttons. --- MobileCydia.mm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 023a6d96..3b3347f1 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 { -- 2.45.2