forked from shadowfacts/Tusker
Always used stacked search field in instance selector
This commit is contained in:
parent
f5385b0a1d
commit
73345bb927
|
@ -81,6 +81,9 @@ class InstanceSelectorTableViewController: UITableViewController {
|
|||
searchController.searchBar.searchTextField.autocapitalizationType = .none
|
||||
navigationItem.searchController = searchController
|
||||
navigationItem.hidesSearchBarWhenScrolling = false
|
||||
if #available(iOS 16.0, *) {
|
||||
navigationItem.preferredSearchBarPlacement = .stacked
|
||||
}
|
||||
definesPresentationContext = true
|
||||
|
||||
urlHandler = urlCheckerSubject
|
||||
|
|
Loading…
Reference in New Issue