summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-12-20 11:01:34 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:21 +0000
commit093539d95eca4bff53b3f2c93d62e0d4e76b6a6d (patch)
treef9eddaeefb88f19b854f539b949830ebb13d5969 /Cydia.mm
parente47c4742d73c5720e0a06e95e91785ca5d333117 (diff)
You can't close the missing package dialog.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cydia.mm b/Cydia.mm
index dc17b7a..7a5a33d 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -6577,7 +6577,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button {
NSString *context([sheet context]);
- if ([context isEqualToString:@"fixhalf"]) {
+ if ([context isEqualToString:@"missing"])
+ [sheet dismiss];
+ else if ([context isEqualToString:@"fixhalf"]) {
switch (button) {
case 1:
@synchronized (self) {