Commit 049c090e authored by Pierre SAGASPE's avatar Pierre SAGASPE

VLCLibraryViewController : fix search bar display in devices starting in collection view mode

parent e127aa59
......@@ -256,6 +256,10 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
_searchController.dimsBackgroundDuringPresentation = NO;
_searchController.delegate = self;
[self setSearchBar:YES resetContent:YES];
if (!self.usingTableViewToShowData) {
if (@available(iOS 11.0, *))
[self setSearchBar:NO resetContent:NO];
}
}
- (void)viewWillAppear:(BOOL)animated
......
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