Allow non-graph emoji to inherit parent color (#7096)

This commit is contained in:
Eric Bailey
2024-12-13 12:36:00 -06:00
committed by GitHub
parent f6aecf5c28
commit ce69e052b7
+1 -3
View File
@@ -110,9 +110,7 @@ export function renderChildrenWithEmoji(
return child.split(EMOJI).map((stringPart, index) => [
stringPart,
emojis[index] ? (
<UITextView
{...props}
style={[props?.style, {color: 'black', fontFamily: 'System'}]}>
<UITextView {...props} style={[props?.style, {fontFamily: 'System'}]}>
{emojis[index]}
</UITextView>
) : null,