diff options
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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_; } |