forked from Ivasoft/mattermost-mobile
set mentionHighlightBg background for mention keywords (#6834)
This commit is contained in:
@@ -488,6 +488,10 @@ const Markdown = ({
|
||||
styles = computeTextStyle(textStyles, baseTextStyle, context);
|
||||
}
|
||||
|
||||
if (context.includes('mention_highlight')) {
|
||||
styles = concatStyles(styles, {backgroundColor: theme.mentionHighlightBg});
|
||||
}
|
||||
|
||||
return (
|
||||
<Text
|
||||
testID='markdown_text'
|
||||
|
||||
Reference in New Issue
Block a user