]> git.saurik.com Git - cydia.git/commitdiff
Reload package lists before pushing them.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 02:36:35 +0000 (18:36 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 02:36:35 +0000 (18:36 -0800)
MobileCydia.mm

index 86f9c6c373deb4ead6fe74122b3cdf60a9bbbf95..a54c7b7332d8ca6b3cd27b36c394c8b937ba8840 100644 (file)
@@ -6329,7 +6329,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 
 - (void) reloadData {
     [super reloadData];
-    [self performSelector:@selector(_reloadData) withObject:nil afterDelay:0];
+
+    if ([self shouldYield])
+        [self performSelector:@selector(_reloadData) withObject:nil afterDelay:0];
+    else
+        [self _reloadData];
 }
 
 - (void) resetCursor {