From: Jay Freeman (saurik) Date: Mon, 10 Sep 2012 16:25:25 +0000 (-0700) Subject: Allow users to click loading customized buttons. X-Git-Tag: v1.1.7~4 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/07d0e88e46b7e041b64dc2aaeae3f415a9437e5e?ds=inline Allow users to click loading customized buttons. --- 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 {