]> git.saurik.com Git - cydia.git/commitdiff
iOS 8 considers an action sheet to be a modal view.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 28 Oct 2014 09:23:50 +0000 (02:23 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 28 Oct 2014 09:23:50 +0000 (02:23 -0700)
MobileCydia.mm

index 37eb5e7b78a113291bc136bece90348c66c993cd..1264510dea58cc7cd65bab06ea28383f845d7473 100644 (file)
@@ -6299,7 +6299,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 
     if ([context isEqualToString:@"modify"]) {
         if (button != [sheet cancelButtonIndex]) {
-            [self _clickButtonWithName:buttons_[button].first];
+            [self performSelector:@selector(_clickButtonWithName:) withObject:buttons_[button].first afterDelay:0];
         }
 
         [sheet dismissWithClickedButtonIndex:-1 animated:YES];