summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 04:12:39 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 05:09:12 -0700
commitbe64dfbf168a195d2c160f3aa39efa2c03b26c19 (patch)
tree179a4d13f9818410081d9abc45d2eb3e4d1a26dc
parent22b6c4b8c91baeee680cbddbd1f60efc1e581a76 (diff)
Hold Reloading Data throughout entire operation.
-rw-r--r--MobileCydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0bd8478..9dc0619 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9050,9 +9050,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[database_ yieldToSelector:@selector(reloadDataWithInvocation:) withObject:invocation];
- if (hud != nil)
- [self removeProgressHUD:hud];
-
size_t changes(0);
[essential_ removeAllObjects];
@@ -9084,6 +9081,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
[self _updateData];
+
+ if (hud != nil)
+ [self removeProgressHUD:hud];
} }
- (void) updateData {