Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(mobile): status bar text invisible in dark mode

Evan Simkowitz43e9ea032a57
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx
index a68fec53..730f17b0 100644
--- a/apps/mobile/app/_layout.tsx
+++ b/apps/mobile/app/_layout.tsx
@@ -22,7 +22,7 @@ export default function RootLayout() {
useInitialAndroidBarSync();
const router = useRouter();
const { hasShareIntent } = useShareIntent();
- const { colorScheme, isDarkColorScheme } = useColorScheme();
+ const { colorScheme } = useColorScheme();
useEffect(() => {
if (hasShareIntent) {
@@ -129,10 +129,7 @@ export default function RootLayout() {
</StyledStack>
</NavThemeProvider>
</KeyboardProvider>
- <StatusBar
- key={`root-status-bar-${isDarkColorScheme ? "light" : "dark"}`}
- style={isDarkColorScheme ? "light" : "dark"}
- />
+ <StatusBar style="auto" />
</SafeAreaProvider>
);
}