Submission ID: 1efcd8eb-7d68-4348-9925-43a8e1bd7d1e Add: - app/(application)/terms-agreement.tsx Fix: - app/(application)/(user)/home.tsx - app/(application)/_layout.tsx - context/AuthContext.tsx - ios/HIPMIBadungConnect/Info.plist - screens/Authentication/LoginView.tsx - screens/Authentication/RegisterView.tsx - service/api-config.ts - types/User.ts ### NO Issue
35 lines
892 B
TypeScript
35 lines
892 B
TypeScript
import { BackButton } from "@/components";
|
|
import { HeaderStyles } from "@/styles/header-styles";
|
|
import { Stack } from "expo-router";
|
|
|
|
export default function ApplicationLayout() {
|
|
return (
|
|
<>
|
|
<Stack screenOptions={HeaderStyles}>
|
|
<Stack.Screen name="(user)" options={{ headerShown: false }} />
|
|
<Stack.Screen name="admin" options={{ headerShown: false }} />
|
|
|
|
|
|
|
|
{/* Take Picture */}
|
|
<Stack.Screen
|
|
name="(image)/take-picture/[id]/index"
|
|
options={{
|
|
title: "Ambil Gambar",
|
|
headerLeft: () => <BackButton />,
|
|
}}
|
|
/>
|
|
|
|
{/* Preview Image */}
|
|
<Stack.Screen
|
|
name="(image)/preview-image/[id]/index"
|
|
options={{
|
|
title: "Preview Gambar",
|
|
headerLeft: () => <BackButton />,
|
|
}}
|
|
/>
|
|
</Stack>
|
|
</>
|
|
);
|
|
}
|