diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 1772f17..bccf5b2 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3997,10 +3997,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } } -- (id) invokeDefaultMethodWithArguments:(NSArray *)args { +- (void) _doContinue { [self dismissModalViewControllerAnimated:YES]; [delegate_ cancelAndClear:NO]; +} +- (id) invokeDefaultMethodWithArguments:(NSArray *)args { + [self performSelectorOnMainThread:@selector(_doContinue) withObject:nil waitUntilDone:NO]; return nil; } |