Update search bar string and appearance.

This commit is contained in:
Doug
2021-07-26 12:54:24 +01:00
parent 19f3594062
commit e585041d04
3 changed files with 3 additions and 9 deletions
@@ -740,7 +740,7 @@
// Magnifying glass icon.
UIImageView *leftImageView = (UIImageView *)searchBarTextField.leftView;
leftImageView.image = [leftImageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
leftImageView.tintColor = ThemeService.shared.theme.tintColor;
leftImageView.tintColor = ThemeService.shared.theme.textSecondaryColor;
// Use the theme's grey color.
// The effect views are needed due to minimal style.
@@ -750,12 +750,6 @@
UIView *effectBackgroundBottom = [searchBarTextField valueForKey:@"_effectBackgroundBottom"];
effectBackgroundTop.hidden = YES;
effectBackgroundBottom.hidden = YES;
// place holder
if (searchBarTextField.placeholder)
{
searchBarTextField.textColor = ThemeService.shared.theme.placeholderTextColor;
}
}
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText