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]}>
<Text style={[t.atoms.text_contrast_medium]}>
{isSelfLabel ? (
<Trans>This label was applied by you</Trans>
<Trans>This label was applied by you.</Trans>
) : (
<>
<Trans>Source:</Trans>{' '}
<InlineLinkText
to={makeProfileLink(
labeler ? labeler.creator : {did: label.src, handle: ''},
)}
onPress={() => control.close()}>
{labeler
? sanitizeHandle(labeler.creator.handle, '@')
: label.src}
</InlineLinkText>
<Trans>
Source:{' '}
<InlineLinkText
to={makeProfileLink(
labeler ? labeler.creator : {did: label.src, handle: ''},
)}
onPress={() => control.close()}>
{labeler
? sanitizeHandle(labeler.creator.handle, '@')
: label.src}
</InlineLinkText>
</Trans>
</>
)}
</Text>