Skip to content

fix: status bar and gesture nav icons follow the reading page, not the app theme - #70

Merged
schmitzkr merged 1 commit into
mainfrom
worktree-reader-status-bar
Sep 8, 2026
Merged

schmitzkr merged 1 commit into
mainfrom
worktree-reader-status-bar

Conversation

@schmitzkr

Copy link
Copy Markdown
Owner

"the status bar and swipe up bar stay white in dark mode reader"

The status bar and gesture nav bar are transparent and sit directly over
whatever the reader actually draws behind them — not over ReaderBar's
own themed pill, which just went back to following the app's own
light/dark setting rather than the reading theme. Their icon appearance
(isAppearanceLightStatusBars/isAppearanceLightNavigationBars) was
still only ever set once, globally, from the app's own theme in
GrimReaderTheme — so a light appearance (dark icons, meant for a light
background) stayed on top of a black reading page or comic page
regardless of what the page actually showed.

Both readers now set icon appearance from what the page actually shows:
EpubReaderScreen from the selected reading theme (light/sepia → light
appearance, dark/black/forest → dark appearance), PageReaderScreen from
its own existing night-mode/CBX-is-always-black logic. Both restore to
match the app's own isSystemInDarkTheme() on leaving, same signal
EpubReaderScreen already used for its default reading theme.

🤖 Generated with Claude Code

…e app theme

"the status bar and swipe up bar stay white in dark mode reader"

The status bar and gesture nav bar are transparent and sit directly over
whatever the reader actually draws behind them -- not over ReaderBar's
own themed pill, which just went back to following the app's own
light/dark setting rather than the reading theme. Their icon appearance
(isAppearanceLightStatusBars/isAppearanceLightNavigationBars) was still
only ever set once, globally, from the app's own theme in
GrimReaderTheme -- so a light appearance (dark icons, meant for a light
background) stayed on top of a black reading page or comic page
regardless of what the page actually showed.

Both readers now set icon appearance from what the page actually shows:
EpubReaderScreen from the selected reading theme (light/sepia -> light
appearance, dark/black/forest -> dark appearance), PageReaderScreen from
its own existing night-mode/CBX-is-always-black logic. Both restore to
match the app's own isSystemInDarkTheme() on leaving, same signal
EpubReaderScreen already used for its default reading theme.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M421Z8byhEsWKMq7eWWqDN
@schmitzkr
schmitzkr merged commit 34353d1 into main Sep 8, 2026
4 checks passed
@schmitzkr
schmitzkr deleted the worktree-reader-status-bar branch September 8, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant