Repository navigation
Fix library/queue nav bars hidden under the status bar in the pager - #92
Merged
sanylax0 merged 1 commit intoJul 18, 2026
Merged
Conversation
The full-bleed pager re-injects insets with safeAreaPadding, which the SwiftUI-native Now Playing page respects — but NavigationStack bars position from the real window safe area the pager now ignores, so the library's title and add-playlist button slid under the status bar. The two NavigationStack pages get hard top/bottom padding instead; Now Playing keeps safeAreaPadding so its backdrop still escapes to full bleed.
sanylax0
approved these changes
Jul 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Since the full-bleed pager (#82), the Library page's title and add-playlist "+" button (and Up Next's bar) sat under the status bar / Dynamic Island.
Why
The pager ignores the window safe area and re-injects insets with
safeAreaPadding— additive safe area that pure-SwiftUI content (Now Playing's chevrons/labels) respects, butNavigationStackpositions its bars from the real window safe area, which the pager hides — so the bars slid to the physical top of the screen.How
The two
NavigationStackpages (LibrarySheetView, UpNextView) now get hard top/bottom padding from the measured insets, placing their bars below the status bar and their content above the home indicator. Now Playing keepssafeAreaPaddingsoAlbumBackdrop'signoresSafeAreastill reaches the screen edges (hard padding would block it).Testing
On device: the "+" button and "Continuity" title should sit fully below the status bar; Up Next's title likewise; Now Playing unchanged with full-bleed blur; paging still snaps one screen at a time.
🤖 Generated with Claude Code
https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP
Generated by Claude Code