Repository navigation
Hide home screen header - #57
ScoreSymphony wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f711cccc0d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }} | ||
| > | ||
| <Stack.Screen name="index" options={{ title: "Smoothie Generator" }} /> | ||
| <Stack.Screen name="index" options={{ headerShown: false }} /> |
There was a problem hiding this comment.
Add the top safe-area inset when hiding the header
With the native header hidden, the home screen no longer has anything reserving space above its content, while HomeScreen explicitly limits its SafeAreaView to edges={["bottom"]}. On devices with a status bar, notch, or Dynamic Island, the intro card therefore starts inside the top system inset and can be obscured; include the top edge on the home screen when disabling this header.
Useful? React with 👍 / 👎.
Entfernt auf der Startseite die obere Navigationsleiste mit „Smoothie Generator“. Die Header der Unterseiten bleiben unverändert.