summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-10 18:36:35 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-10 18:36:35 -0800
commit6d246265ac5604afc36f21d1a37bee3818339486 (patch)
tree4cc54d70711ce4adcf943bcfcdf1bbc722d975df /MobileCydia.mm
parenta26ad329d18765d208d17c3c59d78d51622332d5 (diff)
Reload package lists before pushing them.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 86f9c6c..a54c7b7 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {