Remove branches for iOS 12 compatibility
This commit is contained in:
parent
7000834575
commit
b09bc7444f
7 changed files with 17 additions and 59 deletions
|
|
@ -21,9 +21,7 @@ class PasswordsViewController: UIViewController {
|
|||
uiSearchController.searchBar.isTranslucent = true
|
||||
uiSearchController.obscuresBackgroundDuringPresentation = false
|
||||
uiSearchController.searchBar.sizeToFit()
|
||||
if #available(iOS 13.0, *) {
|
||||
uiSearchController.searchBar.searchTextField.clearButtonMode = .whileEditing
|
||||
}
|
||||
uiSearchController.searchBar.searchTextField.clearButtonMode = .whileEditing
|
||||
return uiSearchController
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue