diff options
Diffstat (limited to 'src/components/moderation')
-rw-r--r-- | src/components/moderation/LabelsOnMeDialog.tsx | 6 | ||||
-rw-r--r-- | src/components/moderation/ModerationDetailsDialog.tsx | 8 |
2 files changed, 10 insertions, 4 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> diff --git a/src/components/moderation/ModerationDetailsDialog.tsx b/src/components/moderation/ModerationDetailsDialog.tsx index d95717cf4..225917853 100644 --- a/src/components/moderation/ModerationDetailsDialog.tsx +++ b/src/components/moderation/ModerationDetailsDialog.tsx @@ -118,7 +118,11 @@ function ModerationDetailsDialogInner({ : _(msg`The author of this thread has hidden this reply.`) } else if (modcause.type === 'label') { name = desc.name - description = desc.description + description = ( + <Text emoji style={[t.atoms.text, a.text_md, a.leading_snug]}> + {desc.description} + </Text> + ) } else { // should never happen name = '' @@ -127,7 +131,7 @@ function ModerationDetailsDialogInner({ return ( <Dialog.ScrollableInner label={_(msg`Moderation details`)}> - <Text style={[t.atoms.text, a.text_2xl, a.font_bold, a.mb_sm]}> + <Text emoji style={[t.atoms.text, a.text_2xl, a.font_bold, a.mb_sm]}> {name} </Text> <Text style={[t.atoms.text, a.text_md, a.leading_snug]}> |