Bluesky app fork with some witchin' additions 馃挮
at linkat-integration 21 lines 485 B view raw
1import {useCallback} from 'react' 2import {useFocusEffect} from '@react-navigation/native' 3 4import { 5 type AllNavigatorParams, 6 type NativeStackScreenProps, 7} from '#/lib/routes/types' 8 9type Props = NativeStackScreenProps< 10 AllNavigatorParams, 11 'LegacyNotificationSettings' 12> 13export function LegacyNotificationSettingsScreen({navigation}: Props) { 14 useFocusEffect( 15 useCallback(() => { 16 navigation.replace('NotificationSettings') 17 }, [navigation]), 18 ) 19 20 return null 21}