Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cb7e2ab976d9e2e8e2d13356b79bba7e6870a9fd 30 lines 1.2 kB view raw
1import {useMemo} from 'react' 2import {msg} from '@lingui/macro' 3import {useLingui} from '@lingui/react' 4 5import {useAgeAssurance} from '#/ageAssurance' 6 7export function useAgeAssuranceCopy() { 8 const {_} = useLingui() 9 const aa = useAgeAssurance() 10 11 const hasCompletedFlow = aa.state.status === aa.Status.Assured 12 13 return useMemo(() => { 14 return { 15 notice: hasCompletedFlow 16 ? _( 17 msg`You have completed the Age Assurance process, but based on the results, we cannot be sure that you are 18 years of age or older. Due to laws in your region, certain features on Bluesky must remain restricted until you're able to verify you're an adult.`, 18 ) 19 : _( 20 msg`Due to laws in your region, certain features on Bluesky are currently restricted until you're able to verify you're an adult.`, 21 ), 22 banner: _( 23 msg`The laws in your region require you to verify you're an adult to access certain features. Tap to learn more.`, 24 ), 25 chatsInfoText: _( 26 msg`Don't worry! All existing messages and settings are saved and will be available after you verify you're an adult.`, 27 ), 28 } 29 }, [_, hasCompletedFlow]) 30}