diff options
author | Eric Bailey <git@esb.lol> | 2024-12-13 12:36:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 12:36:00 -0600 |
commit | ce69e052b702d6098e2785f583c034872fd5c636 (patch) | |
tree | f312b81bffa33f74635a1da3d3b2c14faff4a1ff /src/alf | |
parent | f6aecf5c28c849690d5054282f87eeb21bfb79a9 (diff) | |
download | voidsky-ce69e052b702d6098e2785f583c034872fd5c636.tar.zst |
Allow non-graph emoji to inherit parent color (#7096)
Diffstat (limited to 'src/alf')
-rw-r--r-- | src/alf/typography.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/alf/typography.tsx b/src/alf/typography.tsx index 1b1e81bd4..4f6947e0e 100644 --- a/src/alf/typography.tsx +++ b/src/alf/typography.tsx @@ -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, |