From 0c19fe8adecdd237f8575fff607fc90a35873670 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 4 Dec 2025 11:00:15 -0600 Subject: [PATCH] Cleanup --- .../components/NoAccessScreen.tsx | 22 ++++++++----------- src/geolocation/debug.ts | 2 +- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/ageAssurance/components/NoAccessScreen.tsx b/src/ageAssurance/components/NoAccessScreen.tsx index dad5441847..89857ff91d 100644 --- a/src/ageAssurance/components/NoAccessScreen.tsx +++ b/src/ageAssurance/components/NoAccessScreen.tsx @@ -41,6 +41,8 @@ import { } from '#/ageAssurance/util' import {useDeviceGeolocationApi} from '#/geolocation' +const textStyles = [a.text_md, a.leading_snug] + export function NoAccessScreen() { const t = useTheme() const {_} = useLingui() @@ -63,14 +65,6 @@ export function NoAccessScreen() { logger.metric(`blockedGeoOverlay:shown`, {}) }, []) - const textStyles = [a.text_md, a.leading_normal] - - const blocks = [ - _( - msg`You are accessing Bluesky from a region that legally requires us to verify your age before allowing you to access the app.`, - ), - ] - const onPressLogout = useCallback(() => { if (isWeb) { // We're switching accounts, which remounts the entire app. @@ -144,11 +138,13 @@ export function NoAccessScreen() { {isAARegion ? ( <> - {blocks.map((block, index) => ( - - {block} - - ))} + + + You are accessing Bluesky from a region that legally + requires us to verify your age before allowing you to + access the app. + + {birthdateUpdateText} diff --git a/src/geolocation/debug.ts b/src/geolocation/debug.ts index 58fe05e6f2..3fc2bfc16f 100644 --- a/src/geolocation/debug.ts +++ b/src/geolocation/debug.ts @@ -2,7 +2,7 @@ import * as aaDebug from '#/ageAssurance/debug' import {IS_DEV} from '#/env' import {type Geolocation} from '#/geolocation/types' -const localEnabled = false +const localEnabled = true export const enabled = IS_DEV && (localEnabled || aaDebug.geolocation) export const geolocation: Geolocation = aaDebug.geolocation ?? { countryCode: 'AU',