about summary refs log tree commit diff
path: root/src/screens/Settings/LegacyNotificationSettings.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/Settings/LegacyNotificationSettings.tsx')
-rw-r--r--src/screens/Settings/LegacyNotificationSettings.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/screens/Settings/LegacyNotificationSettings.tsx b/src/screens/Settings/LegacyNotificationSettings.tsx
new file mode 100644
index 000000000..a9ef5d983
--- /dev/null
+++ b/src/screens/Settings/LegacyNotificationSettings.tsx
@@ -0,0 +1,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
+}