fix nested text
This commit is contained in:
@@ -74,7 +74,10 @@ export function Card({size}: {size: 'large' | 'small'}) {
|
|||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
allowFontScaling={!hasFixedHeight}>
|
allowFontScaling={!hasFixedHeight}>
|
||||||
<Trans comment="The group chat creator, in the format 'By {displayName}'.">
|
<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>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<ProfileBadges
|
<ProfileBadges
|
||||||
|
|||||||
Reference in New Issue
Block a user