Commit 5eed3d6f authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Carola Nitz

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

(cherry picked from commit 049c090e)
parent 89650cb5
......@@ -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