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
5 changes: 5 additions & 0 deletions App/Continuity/Views/MainPagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ struct MainPagerView: View {
// (chevrons/labels respect it) and its backdrop must escape to full bleed via
// ignoresSafeArea, which hard padding would block.
VStack(spacing: 0) {
// background AFTER the padding: it fills the whole page frame, so the
// status-bar / home-indicator bands show the page's own surface color
// instead of the pager's black.
LibrarySheetView()
.padding(.top, insets.top)
.padding(.bottom, insets.bottom)
.background(Color(uiColor: .systemGroupedBackground))
.containerRelativeFrame(.vertical)
.id(MainPagerState.Page.library)
NowPlayingView(mode: .home)
Expand All @@ -35,6 +39,7 @@ struct MainPagerView: View {
UpNextView()
.padding(.top, insets.top)
.padding(.bottom, insets.bottom)
.background(Color(uiColor: .systemGroupedBackground))
.containerRelativeFrame(.vertical)
.id(MainPagerState.Page.upNext)
}
Expand Down
Loading