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.flex_row,
|
||||||
|
a.align_center,
|
||||||
a.font_bold,
|
a.font_bold,
|
||||||
a.text_center,
|
{color: 'white', fontSize: 18, gap: 6},
|
||||||
{color: 'white', fontSize: 18},
|
|
||||||
]}>
|
]}>
|
||||||
<Trans>on</Trans>
|
<Trans>
|
||||||
|
on
|
||||||
|
<View style={[a.flex_row, a.align_center, {gap: 6}]}>
|
||||||
|
<Logo width={25} fill="white" />
|
||||||
|
<View style={[{marginTop: 3.5}]}>
|
||||||
|
<Logotype width={72} fill="white" />
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<Logo width={26} fill="white" />
|
|
||||||
<View style={[{marginTop: 5, marginLeft: 2.5}]}>
|
|
||||||
<Logotype width={68} fill="white" />
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
</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