Merge pull request #5497 from vector-im/aringenbach/5252_search_results_highlight_color

Display search matching pattern with a highlight color
This commit is contained in:
aringenbach
2022-02-04 10:30:12 +01:00
committed by GitHub
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