summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_;
}