From 2e2229c6d23d2b9a029d6ab1af76d22cfe83f9a6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 15 Feb 2017 18:44:04 -0800 Subject: This new code only works if the button is loading. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index a948174..95bbca7 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()); -- cgit v1.2.3