tweaks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import {Pressable, View} from 'react-native'
|
||||
import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api'
|
||||
import {msg, Plural, Trans} from '@lingui/macro'
|
||||
import {msg, Trans} from '@lingui/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
import {useNavigation} from '@react-navigation/native'
|
||||
import {NativeStackScreenProps} from '@react-navigation/native-stack'
|
||||
@@ -209,17 +209,14 @@ function Header({
|
||||
</ProfileSubpageHeader>
|
||||
<View style={[a.px_md, a.py_lg, a.gap_md]}>
|
||||
<Text style={[a.text_md]}>{record.description}</Text>
|
||||
<Text style={[a.font_bold, a.text_md, t.atoms.text_contrast_medium]}>
|
||||
<Trans>
|
||||
{starterPack.joinedAllTimeCount || 0}{' '}
|
||||
<Plural
|
||||
value={starterPack.joinedAllTimeCount || 0}
|
||||
one="person has"
|
||||
other="people have"
|
||||
/>{' '}
|
||||
joined this starter pack!
|
||||
</Trans>
|
||||
</Text>
|
||||
{starterPack.joinedWeekCount && starterPack.joinedWeekCount >= 25 ? (
|
||||
<Text style={[a.font_bold, a.text_md, t.atoms.text_contrast_medium]}>
|
||||
<Trans>
|
||||
{starterPack.joinedAllTimeCount || 0} people have used this
|
||||
starter pack!
|
||||
</Trans>
|
||||
</Text>
|
||||
) : null}
|
||||
</View>
|
||||
<QrCodeDialog control={qrCodeDialogControl} starterPack={starterPack} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user