summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-10-28 02:23:50 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-10-28 02:23:50 -0700
commit91cefc4e9ce990a4d40c41ec9af2ec5498c455ae (patch)
treec9233b1fa3f5f54c5725f3dbf0b8696fead74c61
parentccf4005a8ed109b527637527254a7b56aae47d6f (diff)
iOS 8 considers an action sheet to be a modal view.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 37eb5e7..1264510 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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];