about summary refs log tree commit diff
path: root/src/alf
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-12-13 12:36:00 -0600
committerGitHub <noreply@github.com>2024-12-13 12:36:00 -0600
commitce69e052b702d6098e2785f583c034872fd5c636 (patch)
treef312b81bffa33f74635a1da3d3b2c14faff4a1ff /src/alf
parentf6aecf5c28c849690d5054282f87eeb21bfb79a9 (diff)
downloadvoidsky-ce69e052b702d6098e2785f583c034872fd5c636.tar.zst
Allow non-graph emoji to inherit parent color (#7096)
Diffstat (limited to 'src/alf')
-rw-r--r--src/alf/typography.tsx4
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,