[lcenavigationview-adoption] Fix black nav bar background, add Cart title wrap

setNavigationBarBackgroundColor was never called on the 15 screens
adopted in 3456184, so it stayed at the default .clear and the real
window background (black) showed through. Set it to
AppColors.backgroundLight on all of them, matching each screen's own
actual content background. Also wraps CartView's title in
LCENavigationView for consistency with the rest of the app - no
setLeftButton since Cart is a tab root, no back button needed.

The other reported bug (empty right-button slot rendering a visible
glass circle) is fixed in LCEssentials itself (separate repo,
commit 8b0f650 on fix/navigation/liquid-glass-button-chrome) but
won't take visual effect here until that's published and this
repo's Package.resolved is bumped to point at it.
This commit is contained in:
Daniel Arantes Loverde
2026-08-24 14:50:46 -03:00
parent afa5b87da0
commit 18497b017a
16 changed files with 28 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ struct OrderTrackingView: View {
}
}
.setTitle(text: Text("Pedido \(displayOrderTitle)").font(AppTypography.heading2).foregroundStyle(AppColors.textPrimary))
.setNavigationBarBackgroundColor(AppColors.backgroundLight)
.navigationDestination(item: $reviewDraft) { draft in
MyReviewsView(initialOrder: draft)
}