From f9fd6ad603088f81306f0ec41e7494d136f2a0c5 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 18 Jul 2026 17:57:32 +0000 Subject: [PATCH] Fill the status-bar bands on Library and Up Next with the page surface The hard insets from the nav-bar fix left the pager's black background showing through the status-bar and home-indicator bands on the two NavigationStack pages. Give each page a systemGroupedBackground fill behind its padding so the bands read as part of the page. --- App/Continuity/Views/MainPagerView.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/App/Continuity/Views/MainPagerView.swift b/App/Continuity/Views/MainPagerView.swift index 572afbe..8a73242 100644 --- a/App/Continuity/Views/MainPagerView.swift +++ b/App/Continuity/Views/MainPagerView.swift @@ -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) @@ -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) }