Add dedicated Help screen to profile tab with navigation integration.
Refactor SettingsScreen to navigate to HelpScreen instead of showing placeholder alert.
Fix API upload method to use correct field names ("file" for documents, "image" for media)
based on endpoint path, resolving upload failures for file uploads.
28 lines
828 B
TypeScript
28 lines
828 B
TypeScript
import { Stack } from 'expo-router';
|
|
|
|
export default function ProfileStackLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerShown: false,
|
|
}}
|
|
>
|
|
<Stack.Screen name="index" />
|
|
<Stack.Screen name="settings" />
|
|
<Stack.Screen name="edit-profile" />
|
|
<Stack.Screen name="account-security" />
|
|
<Stack.Screen name="my-posts" />
|
|
<Stack.Screen name="bookmarks" />
|
|
<Stack.Screen name="notification-settings" />
|
|
<Stack.Screen name="blocked-users" />
|
|
<Stack.Screen name="chat-settings" />
|
|
<Stack.Screen name="about" />
|
|
<Stack.Screen name="help" />
|
|
<Stack.Screen name="verification" />
|
|
<Stack.Screen name="data-storage" />
|
|
<Stack.Screen name="privacy-settings" />
|
|
<Stack.Screen name="account-deletion" />
|
|
</Stack>
|
|
);
|
|
}
|