Search fields: Remove underline placeholders.

This commit is contained in:
SBiOSoftWhare
2020-07-10 15:16:37 +02:00
parent f65e01b0c8
commit ca84389381
3 changed files with 4 additions and 13 deletions

View File

@@ -639,10 +639,7 @@
// place holder
if (searchBarTextField.placeholder)
{
searchBarTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:searchBarTextField.placeholder
attributes:@{NSUnderlineStyleAttributeName: @(NSUnderlineStyleSingle),
NSUnderlineColorAttributeName: ThemeService.shared.theme.tintColor,
NSForegroundColorAttributeName: ThemeService.shared.theme.tintColor}];
searchBarTextField.textColor = ThemeService.shared.theme.placeholderTextColor;
}
}