diff options
author | Eric Bailey <git@esb.lol> | 2024-09-23 10:40:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 00:40:37 +0900 |
commit | 5eb294488f08534abac3335acfa366cffea9259e (patch) | |
tree | 94453e05d751b5b2ef91467460c258ed5e00b80d /src/components/moderation/LabelsOnMeDialog.tsx | |
parent | 443f3a64069f081764c2f49578108a9570e8e834 (diff) | |
download | voidsky-5eb294488f08534abac3335acfa366cffea9259e.tar.zst |
[Neue] Handle emoji within custom font (#5449)
* Support emoji in text with custom font * Add emoji support to elements that need it * Remove unused file causing lint failure * Fix a few more emoji locations * Couple more * No throw
Diffstat (limited to 'src/components/moderation/LabelsOnMeDialog.tsx')
-rw-r--r-- | src/components/moderation/LabelsOnMeDialog.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index c54a04a78..e63cea93b 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -132,8 +132,10 @@ function Label({ ]}> <View style={[a.p_md, a.gap_sm, a.flex_row]}> <View style={[a.flex_1, a.gap_xs]}> - <Text style={[a.font_bold, a.text_md]}>{strings.name}</Text> - <Text style={[t.atoms.text_contrast_medium, a.leading_snug]}> + <Text emoji style={[a.font_bold, a.text_md]}> + {strings.name} + </Text> + <Text emoji style={[t.atoms.text_contrast_medium, a.leading_snug]}> {strings.description} </Text> </View> |