From a07b7e8b750ba1cab7ef2f9e6a586a5d205dcbd7 Mon Sep 17 00:00:00 2001 From: Ryan Petrich Date: Thu, 23 Sep 2010 03:27:01 -0600 Subject: [PATCH] Use native modal capability of UIAlertView (so that scrollbar doesn't fail) --- Cydia.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index a88eff07..8eb45e51 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -351,11 +351,9 @@ static _finline NSString *CydiaURL(NSString *path) { } - (int) yieldToPopupAlertAnimated:(BOOL)animated { + [self setRunsModal:YES]; button_ = 0; [self show]; - NSRunLoop *loop([NSRunLoop currentRunLoop]); - NSDate *future([NSDate distantFuture]); - while (button_ == 0 && [loop runMode:NSDefaultRunLoopMode beforeDate:future]); return button_; } -- 2.45.2