From 6d246265ac5604afc36f21d1a37bee3818339486 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 10 Mar 2011 18:36:35 -0800 Subject: [PATCH] Reload package lists before pushing them. --- MobileCydia.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- 2.47.2