removing useless ios 13 checks

This commit is contained in:
Mauro Romito
2023-01-12 17:07:02 +01:00
parent a9f9b77fb5
commit 2bb571e088
2 changed files with 4 additions and 16 deletions
@@ -177,14 +177,8 @@ class DefaultTheme: NSObject, Theme {
return
}
if #available(iOS 13.0, *) {
searchBar.searchTextField.backgroundColor = self.searchBackgroundColor
searchBar.searchTextField.textColor = self.searchPlaceholderColor
} else {
if let searchBarTextField = searchBar.vc_searchTextField {
searchBarTextField.textColor = self.searchPlaceholderColor
}
}
searchBar.searchTextField.backgroundColor = self.searchBackgroundColor
searchBar.searchTextField.textColor = self.searchPlaceholderColor
}
func applyStyle(onTextField texField: UITextField) {