This commit is contained in:
Hailey
2024-10-28 09:38:50 -07:00
parent 1c992beff6
commit 275047951d
@@ -66,10 +66,16 @@ export function Card({
<View style={[a.flex_row, a.gap_sm]}> <View style={[a.flex_row, a.gap_sm]}>
{!noIcon ? <StarterPack width={40} gradient="sky" /> : null} {!noIcon ? <StarterPack width={40} gradient="sky" /> : null}
<View style={[a.flex_1]}> <View style={[a.flex_1]}>
<Text emoji style={[a.text_md, a.font_bold, a.leading_snug]}> <Text
emoji
style={[a.text_md, a.font_bold, a.leading_snug]}
numberOfLines={2}>
{record.name} {record.name}
</Text> </Text>
<Text emoji style={[a.leading_snug, t.atoms.text_contrast_medium]}> <Text
emoji
style={[a.leading_snug, t.atoms.text_contrast_medium]}
numberOfLines={1}>
{creator?.did === currentAccount?.did {creator?.did === currentAccount?.did
? _(msg`Starter pack by you`) ? _(msg`Starter pack by you`)
: _(msg`Starter pack by ${sanitizeHandle(creator.handle, '@')}`)} : _(msg`Starter pack by ${sanitizeHandle(creator.handle, '@')}`)}