[FIX] Empty mentions for @all and @here when real name is enabled (#1822)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
d1c6306609
commit
e677c19ca4
|
@ -43,7 +43,7 @@ const AtMention = React.memo(({
|
|||
style={[mentionStyle, ...style]}
|
||||
onPress={handlePress}
|
||||
>
|
||||
{useRealName ? user.name : user.username}
|
||||
{useRealName && user.name ? user.name : user.username}
|
||||
</Text>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue