fix: header overlap status bar

This commit is contained in:
amel
2025-06-24 11:41:11 +08:00
parent ac54bcd9fa
commit 38c08795c5
2 changed files with 1 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ export default function RootLayout() {
}}
/>
</Stack>
<StatusBar style="light" />
<StatusBar style="inverted" translucent={false} backgroundColor="black"/>
</Provider>
)
}

View File

@@ -3,7 +3,6 @@ import HeaderRightDiscussionList from "@/components/discussion/headerDiscussionL
import HeaderRightTaskList from "@/components/task/headerTaskList"
import { Headers } from "@/constants/Headers"
import { router, Stack } from "expo-router"
import { StatusBar } from "expo-status-bar"
export default function RootLayout() {
return (
@@ -29,7 +28,6 @@ export default function RootLayout() {
}}
/>
</Stack>
<StatusBar style="light" />
</>
)
}