mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
removing useless ios 13 checks
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user