fix nested text

This commit is contained in:
Samuel Newman
2026-06-05 16:36:19 +03:00
parent ce7ad9b6fa
commit 9b1c5eb428
+4 -1
View File
@@ -74,7 +74,10 @@ export function Card({size}: {size: 'large' | 'small'}) {
numberOfLines={1}
allowFontScaling={!hasFixedHeight}>
<Trans comment="The group chat creator, in the format 'By {displayName}'.">
By <Text style={[a.font_medium]}>{ownerDisplayName}</Text>
By{' '}
<Text style={[a.font_medium]} allowFontScaling={!hasFixedHeight}>
{ownerDisplayName}
</Text>
</Trans>
</Text>
<ProfileBadges