* Translation comment

* Fix error handling in starter pack generation

* Allow access to DM settings for age restricted users

* Leave post stat unit formatting up to translators
This commit is contained in:
Eric Bailey
2025-09-04 19:36:23 -05:00
committed by GitHub
parent 0b480bdaf8
commit c129108b78
12 changed files with 89 additions and 67 deletions
@@ -18,10 +18,12 @@ export function AgeRestrictedScreen({
children,
screenTitle,
infoText,
rightHeaderSlot,
}: {
children: React.ReactNode
screenTitle?: string
infoText?: string
rightHeaderSlot?: React.ReactNode
}) {
const {_} = useLingui()
const copy = useAgeAssuranceCopy()
@@ -46,12 +48,12 @@ export function AgeRestrictedScreen({
<Layout.Screen>
<Layout.Header.Outer>
<Layout.Header.BackButton />
<Layout.Header.Content>
<Layout.Header.Content align="left">
<Layout.Header.TitleText>
{screenTitle ?? <Trans>Unavailable</Trans>}
</Layout.Header.TitleText>
</Layout.Header.Content>
<Layout.Header.Slot />
{rightHeaderSlot ?? <Layout.Header.Slot />}
</Layout.Header.Outer>
<Layout.Content>
<View style={[a.p_lg]}>