Commit 30da5541 authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

VLCSearchController: Fix `NSInvalidArgumentException` on search

Signed-off-by: 's avatarCarola Nitz <nitz.carola@googlemail.com>
parent d8189c85
......@@ -17,11 +17,13 @@
{
return self;
}
- (void)showViewController:(UIViewController *)vc sender:(id)sender
{
// Setting to active to NO otherwise, it will perform a default presentation which led to an `NSInvalidArgumentException`.
self.active = NO;
[self.presentingViewController showViewController:vc sender:sender];
[self dismissViewControllerAnimated:YES completion:nil];
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment