Display search matching pattern with a highlight color

Signed-off-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
This commit is contained in:
Arnaud Ringenbach
2022-02-03 18:40:36 +01:00
parent 0fb8b126a4
commit ad32158ee6
6 changed files with 8 additions and 4 deletions
@@ -75,8 +75,8 @@
{
// Highlight the search pattern
[cellData highlightPatternInTextMessage:self.searchText
withBackgroundColor:[UIColor clearColor]
foregroundColor:ThemeService.shared.theme.tintColor
withBackgroundColor:ThemeService.shared.theme.searchResultHighlightColor
foregroundColor:ThemeService.shared.theme.textPrimaryColor
andFont:patternFont];
// Use profile information as data to display