From: Jay Freeman (saurik) Date: Fri, 11 Mar 2011 02:36:35 +0000 (-0800) Subject: Reload package lists before pushing them. X-Git-Tag: v1.1.0%b6~19 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/6d246265ac5604afc36f21d1a37bee3818339486 Reload package lists before pushing them. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 86f9c6c3..a54c7b73 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 {