Fix nav bar on iPad search screen hiding

This commit is contained in:
Shadowfacts 2021-05-22 11:25:12 -04:00
parent 9ec7177bfa
commit 4c9d5e8465
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class SearchViewController: UIViewController {
searchController.searchResultsUpdater = resultsController searchController.searchResultsUpdater = resultsController
searchController.searchBar.autocapitalizationType = .none searchController.searchBar.autocapitalizationType = .none
searchController.searchBar.delegate = resultsController searchController.searchBar.delegate = resultsController
searchController.hidesNavigationBarDuringPresentation = false
definesPresentationContext = true definesPresentationContext = true
navigationItem.searchController = searchController navigationItem.searchController = searchController