From 22b6c4b8c91baeee680cbddbd1f60efc1e581a76 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 14 Mar 2011 04:12:23 -0700 Subject: Fix view affinity of progress HUDs. --- MobileCydia.mm | 5 +---- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3