Search fields: Remove underline placeholders.

This commit is contained in:
SBiOSoftWhare
2020-07-10 15:16:37 +02:00
parent d003457527
commit 70f46812c0
3 changed files with 4 additions and 13 deletions
@@ -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;
}
}