Repository navigation
Fix collapsed Now Playing page: make homeLayout greedy again - #98
Merged
sanylax0 merged 1 commit intoJul 18, 2026
Merged
Conversation
Removing the embedded backdrop from homeLayout also removed its only greedy layer — the ZStack then hugged the title/transport column, the page collapsed to a centered band, and the chevron overlays piled onto the content. Fill the available space explicitly.
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
Fixes the squashed Now Playing screen (content collapsed to a centered band with the Library/Up Next chevrons overlapping the title and play disc).
Why
When the backdrop moved out of
homeLayoutand into the pager background (#96), the layout lost its only greedy layer — the backdrop was what stretched the ZStack to full page height. Without it, the ZStack hugs the title/transport column,containerRelativeFramecenters that small view in the page, and the top/bottom chevron overlays attach to the collapsed frame, piling onto the content.How
.frame(maxWidth: .infinity, maxHeight: .infinity)on the home ZStack, with a comment explaining why it must stay greedy. The chevrons return to the screen edges and the column re-centers on the full page.Testing
On device: Now Playing content vertically centered on the full screen, Library chevron at the very top, Up Next at the very bottom, gradient/hybrid backdrop behind everything.
🤖 Generated with Claude Code
https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP
Generated by Claude Code