Allow non-graph emoji to inherit parent color
This commit is contained in:
@@ -110,9 +110,7 @@ export function renderChildrenWithEmoji(
|
|||||||
return child.split(EMOJI).map((stringPart, index) => [
|
return child.split(EMOJI).map((stringPart, index) => [
|
||||||
stringPart,
|
stringPart,
|
||||||
emojis[index] ? (
|
emojis[index] ? (
|
||||||
<UITextView
|
<UITextView {...props} style={[props?.style, {fontFamily: 'System'}]}>
|
||||||
{...props}
|
|
||||||
style={[props?.style, {color: 'black', fontFamily: 'System'}]}>
|
|
||||||
{emojis[index]}
|
{emojis[index]}
|
||||||
</UITextView>
|
</UITextView>
|
||||||
) : null,
|
) : null,
|
||||||
|
|||||||
Reference in New Issue
Block a user