upd: header
This commit is contained in:
@@ -8,7 +8,6 @@ import HeaderRightPositionList from "@/components/position/headerRightPositionLi
|
|||||||
import HeaderRightProjectList from "@/components/project/headerProjectList";
|
import HeaderRightProjectList from "@/components/project/headerProjectList";
|
||||||
import Text from "@/components/Text";
|
import Text from "@/components/Text";
|
||||||
import ToastCustom from "@/components/toastCustom";
|
import ToastCustom from "@/components/toastCustom";
|
||||||
import { Headers } from "@/constants/Headers";
|
|
||||||
import { apiReadOneNotification } from "@/lib/api";
|
import { apiReadOneNotification } from "@/lib/api";
|
||||||
import { pushToPage } from "@/lib/pushToPage";
|
import { pushToPage } from "@/lib/pushToPage";
|
||||||
import store from "@/lib/store";
|
import store from "@/lib/store";
|
||||||
@@ -91,7 +90,15 @@ export default function RootLayout() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<Stack screenOptions={Headers.shadow} >
|
<Stack screenOptions={{
|
||||||
|
headerShown: true,
|
||||||
|
animation: "slide_from_right",
|
||||||
|
|
||||||
|
// ⬇️ PENTING BANGET
|
||||||
|
animationTypeForReplace: "pop",
|
||||||
|
fullScreenGestureEnabled: true,
|
||||||
|
gestureEnabled: true,
|
||||||
|
}} >
|
||||||
<Stack.Screen name="home" options={{ title: 'Home' }} />
|
<Stack.Screen name="home" options={{ title: 'Home' }} />
|
||||||
<Stack.Screen name="feature" options={{ title: 'Fitur' }} />
|
<Stack.Screen name="feature" options={{ title: 'Fitur' }} />
|
||||||
<Stack.Screen name="search" options={{ title: 'Pencarian' }} />
|
<Stack.Screen name="search" options={{ title: 'Pencarian' }} />
|
||||||
|
|||||||
Reference in New Issue
Block a user