[PR #2537] [MERGED] fix(mobile): status bar text invisible in dark mode #2151

Closed
opened 2026-03-02 12:00:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2537
Author: @esimkowitz
Created: 3/1/2026
Status: Merged
Merged: 3/1/2026
Merged by: @MohamedBassem

Base: mainHead: fix/status-bar-dark-mode


📝 Commits (1)

  • a245641 fix status bar text invisible in dark mode

📊 Changes

1 file changed (+2 additions, -5 deletions)

View changed files

📝 apps/mobile/app/_layout.tsx (+2 -5)

📄 Description

Summary

  • Use StatusBar style="auto" instead of manually computing the style from nativewind's color scheme
  • Fixes the status bar text being black (invisible) in dark mode due to a race condition where nativewind's color scheme observable hasn't resolved yet on initial render

Test plan

  • Open the iOS Simulator in Dark appearance and verify status bar text is white
  • Toggle to Light appearance and verify status bar text is black
  • Test in-app theme setting (Light / Dark / System) still works correctly

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2537 **Author:** [@esimkowitz](https://github.com/esimkowitz) **Created:** 3/1/2026 **Status:** ✅ Merged **Merged:** 3/1/2026 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `fix/status-bar-dark-mode` --- ### 📝 Commits (1) - [`a245641`](https://github.com/karakeep-app/karakeep/commit/a24564140bf71b6d4f4cbd3cf25154f357f83d1b) fix status bar text invisible in dark mode ### 📊 Changes **1 file changed** (+2 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `apps/mobile/app/_layout.tsx` (+2 -5) </details> ### 📄 Description ## Summary - Use `StatusBar style="auto"` instead of manually computing the style from nativewind's color scheme - Fixes the status bar text being black (invisible) in dark mode due to a race condition where nativewind's color scheme observable hasn't resolved yet on initial render ## Test plan - [x] Open the iOS Simulator in Dark appearance and verify status bar text is white - [x] Toggle to Light appearance and verify status bar text is black - [x] Test in-app theme setting (Light / Dark / System) still works correctly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2151
No description provided.