address feedback

This commit is contained in:
Chenyu Huang
2025-08-20 15:00:06 -07:00
parent f7c05c2df4
commit 0474a3b6f7
2 changed files with 57 additions and 44 deletions
+37 -23
View File
@@ -483,30 +483,44 @@ function Footer({
<Text style={[a.text_center, textStyles]}>
{
items.length < 2 ? (
<Trans>
It's just{' '}
<Text style={[a.font_bold, textStyles]} emoji>
{currentAccount?.did === items[0].did
? 'you'
: getName(items[0])}{' '}
</Text>
right now! Add more people to your starter pack by searching
above.
</Trans>
currentAccount?.did === items[0].did ? (
<Trans>
It's just you right now! Add more people to your starter
pack by searching above.
</Trans>
) : (
<Trans>
It's just{' '}
<Text style={[a.font_bold, textStyles]} emoji>
{getName(items[0])}{' '}
</Text>
right now! Add more people to your starter pack by searching
above.
</Trans>
)
) : items.length === 2 ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>
{currentAccount?.did === items[0].did
? 'you'
: getName(items[0])}
</Text>{' '}
and
<Text> </Text>
<Text style={[a.font_bold, textStyles]} emoji>
{getName(items[1] /* [0] is self, skip it */)}{' '}
</Text>
are included in your starter pack
</Trans>
currentAccount?.did === items[0].did ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>You</Text> and
<Text> </Text>
<Text style={[a.font_bold, textStyles]} emoji>
{getName(items[1] /* [0] is self, skip it */)}{' '}
</Text>
are included in your starter pack
</Trans>
) : (
<Trans>
<Text style={[a.font_bold, textStyles]}>
{getName(items[0])}
</Text>{' '}
and
<Text> </Text>
<Text style={[a.font_bold, textStyles]} emoji>
{getName(items[1] /* [0] is self, skip it */)}{' '}
</Text>
are included in your starter pack
</Trans>
)
) : items.length > 2 ? (
<Trans context="profiles">
<Text style={[a.font_bold, textStyles]} emoji>