summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Petrich <rpetrich@gmail.com>2010-09-23 03:27:01 -0600
committerJay Freeman <saurik@Jay-Freemans-MacBook-Pro.local>2010-10-04 00:12:20 -0700
commita07b7e8b750ba1cab7ef2f9e6a586a5d205dcbd7 (patch)
tree57f710cdecb5ea07637273a4f06618632c00ce66
parent8e05f686bc60df745ab6b8484dda44379db9757f (diff)
Use native modal capability of UIAlertView (so that scrollbar doesn't fail)
-rw-r--r--Cydia.mm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Cydia.mm b/Cydia.mm
index a88eff0..8eb45e5 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_;
}