]> git.saurik.com Git - cydia.git/commitdiff
This new code only works if the button is loading. v1.1.30
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 16 Feb 2017 02:44:04 +0000 (18:44 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 16 Feb 2017 02:44:04 +0000 (18:44 -0800)
MobileCydia.mm

index a948174a79e6cf7d964921225153ba7f3e1d4726..95bbca774d3273d3cc1e25d541da91a9a45292ff 100644 (file)
@@ -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());