Skip to content

Commit

Permalink
Fix StatusBar
Browse files Browse the repository at this point in the history
  • Loading branch information
fjsj committed Jan 28, 2025
1 parent c12a4d7 commit c5f7679
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The app implements a secure live chat system following Medplum's ["Organizing Co

- **UI/UX Features**
- Native look and feel
- Dark mode / theme support
- Auto-scroll to bottom after new messages
- Loading states and indicators
- Safe area handling
Expand Down
6 changes: 4 additions & 2 deletions app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export default function RootLayout() {
return (
<SafeAreaProvider initialMetrics={initialWindowMetrics}>
<SafeAreaView className="h-full bg-background-50 md:w-full">
<StatusBar style={colorScheme === "dark" ? "dark" : "light"} />

<StatusBar
style={colorScheme === "dark" ? "light" : "dark"}
backgroundColor={colorScheme === "dark" ? "black" : "white"}
/>
<GluestackUIProvider mode={colorScheme}>
<MedplumProvider medplum={medplum}>
<GestureHandlerRootView className="flex-1">
Expand Down

0 comments on commit c5f7679

Please sign in to comment.