summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 04:12:23 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 05:09:11 -0700
commit22b6c4b8c91baeee680cbddbd1f60efc1e581a76 (patch)
tree0f1cdef80c41513f91dbe7e6b5f833f64183ee33
parent5bb0da03cad6a6a7608aa0e97297a54c751f8abf (diff)
Fix view affinity of progress HUDs.
-rw-r--r--MobileCydia.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 92f5a0a..0bd8478 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9426,10 +9426,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if (UIViewController *modal = [target modalViewController])
target = modal;
- UIView *view([target view]);
- [view addSubview:hud];
-
- [hud showInView:[tabbar_ view]];
+ [hud showInView:[target view]];
++locked_;
return hud;