Skip to content

Commit 87fc971

Browse files
authored
use native emoji if unknown (#28574)
1 parent ac07ee8 commit 87fc971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/common-adapters/emoji.native.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const EmojiWrapper = React.memo(function EmojiWrapper(props: Props) {
2222
style={Styles.collapseStyles([sizeStyle.get(size), props.style])} // Mobile emoji need to be smaller with Proxima Nova
2323
allowFontScaling={props.allowFontScaling}
2424
>
25-
{!!emojiIndexByName[emojiName] && emojiIndexByName[emojiName] + emojiVariantSuffix}
25+
{emojiIndexByName[emojiName] ? emojiIndexByName[emojiName] + emojiVariantSuffix : emojiName}
2626
</Text>
2727
)
2828
})

0 commit comments

Comments
 (0)