Repository navigation
Hide Android system status bar - #59
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 376d084164
ℹ️ 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".
| return ( | ||
| <> | ||
| <StatusBar style="auto" /> | ||
| <StatusBar hidden /> |
There was a problem hiding this comment.
Limit status-bar hiding to Android
Because this root layout is shared by both configured platforms, the unconditional hidden prop also removes the iOS status bar, despite the change being intended only for Android. Every iOS screen will therefore lose the clock, battery, and other system indicators; condition this behavior on Platform.OS === "android" so iOS retains the previous status bar.
Useful? React with 👍 / 👎.
Behält die App-Leiste „Smoothie Generator“ auf der Startseite bei und blendet nur die ganz obere System-/Statusleiste von Android aus, also z. B. Spotify, Akku und Uhrzeit.