diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 18:36:35 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 18:36:35 -0800 |
commit | 6d246265ac5604afc36f21d1a37bee3818339486 (patch) | |
tree | 4cc54d70711ce4adcf943bcfcdf1bbc722d975df | |
parent | a26ad329d18765d208d17c3c59d78d51622332d5 (diff) |
Reload package lists before pushing them.
-rw-r--r-- | MobileCydia.mm | 6 |
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 { |