From 05636a2c619a660f5d11f0468844326e65f7d5fc Mon Sep 17 00:00:00 2001 From: Ryan Petrich Date: Thu, 23 Sep 2010 03:27:01 -0600 Subject: [PATCH 1/1] 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.47.2