summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-15 18:44:04 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-15 18:44:04 -0800
commit2e2229c6d23d2b9a029d6ab1af76d22cfe83f9a6 (patch)
tree552c31ffb78babf111e278285f278540d693ea34 /MobileCydia.mm
parent9ae8969431fe2ece82dbc1ae952f06d8818b8642 (diff)
This new code only works if the button is loading.v1.1.30
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
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());