blob: a9ef5d9831c155802cb8f3f0f5b61fbcee29a0e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import {useCallback} from 'react'
import {useFocusEffect} from '@react-navigation/native'
import {
type AllNavigatorParams,
type NativeStackScreenProps,
} from '#/lib/routes/types'
type Props = NativeStackScreenProps<
AllNavigatorParams,
'LegacyNotificationSettings'
>
export function LegacyNotificationSettingsScreen({navigation}: Props) {
useFocusEffect(
useCallback(() => {
navigation.replace('NotificationSettings')
}, [navigation]),
)
return null
}
|