Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions App/Continuity/Views/MainPagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ struct MainPagerView: View {
.scrollIndicators(.hidden)
// Three equal pages → center lands on Now Playing (the home screen).
.defaultScrollAnchor(.center)
// Pages are sized to the safe-area height, but scroll content draws edge-to-edge —
// so the status-bar / home-indicator bands showed slivers of the neighboring pages.
// Clip to the safe-area frame and paint the exposed bands black so exactly one page
// is ever visible.
.clipped()
.background(Color.black.ignoresSafeArea())
.environment(pagerState)
}

Expand Down
Loading