Skip to content

fix: stabilize library picker tint on iOS#688

Merged
everpcpc merged 1 commit intomainfrom
codex/fix-library-picker-tint
Mar 24, 2026
Merged

fix: stabilize library picker tint on iOS#688
everpcpc merged 1 commit intomainfrom
codex/fix-library-picker-tint

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Problem

The library picker sheet on iOS could occasionally fall back to the system default tint after a refresh. The issue showed up most often when the sheet rebuilt its navigation content after tapping Refresh.

Approach

Apply the stored theme tint inside SheetView so sheet-hosted NavigationStack hierarchies keep a stable tint source even when the sheet content refreshes or rebuilds. Limit the override to iOS so macOS and tvOS continue using their existing behavior.

Scope

  • Read the stored themeColorHex inside SheetView
  • Apply tint and accentColor to the sheet navigation stack on iOS only

Validation

  • make build-ios

Apply the stored theme tint inside SheetView on iOS so sheet-hosted navigation stacks keep the app theme after refresh-driven rebuilds. Limit the tint override to iOS to preserve existing macOS and tvOS behavior.
@everpcpc everpcpc merged commit 0916949 into main Mar 24, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/fix-library-picker-tint branch March 24, 2026 04:35
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