Place (you) before username (#5168) (#5170)

(cherry picked from commit 5101927e45)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
This commit is contained in:
Mattermost Build
2021-02-10 22:25:40 +01:00
committed by GitHub
parent 745b8718f7
commit 79ea18e55e

View File

@@ -137,12 +137,12 @@ const AtMentionItem = (props: AtMentionItemProps) => {
style={style.rowUsername}
numberOfLines={1}
>
{` @${username}`}
{isCurrentUser &&
<FormattedText
id='suggestion.mention.you'
defaultMessage='(you)'
/>}
{` @${username}`}
</Text>
</View>
</TouchableWithFeedback>