Skip to content

Commit 9640574

Browse files
committed
Fix about page back button to always navigate to home screen
1 parent ac912bd commit 9640574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/about.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function AboutScreen() {
2020
<SafeAreaView style={styles.container} edges={['top']}>
2121
<Stack.Screen options={{ headerShown: false }} />
2222
<View style={styles.header}>
23-
<Pressable onPress={() => router.back()} style={styles.backButton} hitSlop={8}>
23+
<Pressable onPress={() => router.replace('/')} style={styles.backButton} hitSlop={8}>
2424
<Ionicons name="arrow-back" size={24} color={colors.gray[100]} />
2525
<Text variant="body" color="primary">
2626
Back

0 commit comments

Comments
 (0)