parent
05b73d4d1e
commit
2ef2ae1c6c
|
@ -59,20 +59,24 @@ export const QrCode = React.forwardRef<ViewShot, Props>(function QrCode(
|
||||||
<QrCodeInner link={link} />
|
<QrCodeInner link={link} />
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View style={[a.flex_row, a.align_center, {gap: 5}]}>
|
<Text
|
||||||
<Text
|
style={[
|
||||||
style={[
|
a.flex,
|
||||||
a.font_bold,
|
a.flex_row,
|
||||||
a.text_center,
|
a.align_center,
|
||||||
{color: 'white', fontSize: 18},
|
a.font_bold,
|
||||||
]}>
|
{color: 'white', fontSize: 18, gap: 6},
|
||||||
<Trans>on</Trans>
|
]}>
|
||||||
</Text>
|
<Trans>
|
||||||
<Logo width={26} fill="white" />
|
on
|
||||||
<View style={[{marginTop: 5, marginLeft: 2.5}]}>
|
<View style={[a.flex_row, a.align_center, {gap: 6}]}>
|
||||||
<Logotype width={68} fill="white" />
|
<Logo width={25} fill="white" />
|
||||||
</View>
|
<View style={[{marginTop: 3.5}]}>
|
||||||
</View>
|
<Logotype width={72} fill="white" />
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
</Trans>
|
||||||
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
</LinearGradientBackground>
|
</LinearGradientBackground>
|
||||||
</ViewShot>
|
</ViewShot>
|
||||||
|
|
|
@ -65,7 +65,6 @@ export function useGenerateStarterPackMutation({
|
||||||
}) {
|
}) {
|
||||||
const {_} = useLingui()
|
const {_} = useLingui()
|
||||||
const agent = useAgent()
|
const agent = useAgent()
|
||||||
const starterPackString = _(msg`Starter Pack`)
|
|
||||||
|
|
||||||
return useMutation<{uri: string; cid: string}, Error, void>({
|
return useMutation<{uri: string; cid: string}, Error, void>({
|
||||||
mutationFn: async () => {
|
mutationFn: async () => {
|
||||||
|
@ -106,7 +105,7 @@ export function useGenerateStarterPackMutation({
|
||||||
25,
|
25,
|
||||||
true,
|
true,
|
||||||
)
|
)
|
||||||
const starterPackName = `${displayName}'s ${starterPackString}`
|
const starterPackName = _(msg`${displayName}'s Starter Pack`)
|
||||||
|
|
||||||
const list = await createStarterPackList({
|
const list = await createStarterPackList({
|
||||||
name: starterPackName,
|
name: starterPackName,
|
||||||
|
|
Loading…
Reference in New Issue