From: Jay Freeman (saurik) Date: Thu, 16 Feb 2017 02:44:04 +0000 (-0800) Subject: This new code only works if the button is loading. X-Git-Tag: v1.1.30^0 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/2e2229c6d23d2b9a029d6ab1af76d22cfe83f9a6?ds=inline This new code only works if the button is loading. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index a948174a..95bbca77 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6437,7 +6437,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { #if !AlwaysReload - (void) _customButtonClicked { - if (commercial_ && [package_ uninstalled]) + if (commercial_ && self.isLoading && [package_ uninstalled]) return [self reloadURLWithCache:NO]; size_t count(buttons_.size());