Update LabelsOnMeDialog.tsx

This commit is contained in:
Minseo Lee
2024-05-13 10:32:00 +09:00
parent 9f3c5cf431
commit 02db034d6e
+13 -11
View File
@@ -162,19 +162,21 @@ function Label({
<View style={[a.px_md, a.py_sm, t.atoms.bg_contrast_25]}> <View style={[a.px_md, a.py_sm, t.atoms.bg_contrast_25]}>
<Text style={[t.atoms.text_contrast_medium]}> <Text style={[t.atoms.text_contrast_medium]}>
{isSelfLabel ? ( {isSelfLabel ? (
<Trans>This label was applied by you</Trans> <Trans>This label was applied by you.</Trans>
) : ( ) : (
<> <>
<Trans>Source:</Trans>{' '} <Trans>
<InlineLinkText Source:{' '}
to={makeProfileLink( <InlineLinkText
labeler ? labeler.creator : {did: label.src, handle: ''}, to={makeProfileLink(
)} labeler ? labeler.creator : {did: label.src, handle: ''},
onPress={() => control.close()}> )}
{labeler onPress={() => control.close()}>
? sanitizeHandle(labeler.creator.handle, '@') {labeler
: label.src} ? sanitizeHandle(labeler.creator.handle, '@')
</InlineLinkText> : label.src}
</InlineLinkText>
</Trans>
</> </>
)} )}
</Text> </Text>