Skip to content

Commit

Permalink
Merge pull request #20845 from tienifr/fix/20819-wrong-text-color-our…
Browse files Browse the repository at this point in the history
…-mention

Fix: Wrong text color for our mention
(cherry picked from commit 9fda6a5)
  • Loading branch information
marcaaron authored and OSBotify committed Jun 15, 2023
1 parent 92f8c44 commit 2dfe139
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ function MentionUserRenderer(props) {
// eslint-disable-next-line react/jsx-props-no-spreading
{...defaultRendererProps}
href={ROUTES.getDetailsRoute(loginWithoutLeadingAt)}
color={StyleUtils.getMentionTextColor(isOurMention)}
style={[_.omit(props.style, 'color'), StyleUtils.getMentionStyle(isOurMention)]}
style={[_.omit(props.style, 'color'), StyleUtils.getMentionStyle(isOurMention), {color: StyleUtils.getMentionTextColor(isOurMention)}]}
onPress={() => showUserDetails(loginWithoutLeadingAt)}
>
<TNodeChildrenRenderer tnode={props.tnode} />
Expand Down

0 comments on commit 2dfe139

Please sign in to comment.