[lcenavigationview-adoption] Suppress glass button chrome via .buttonStyle(.plain)

Cascades .buttonStyle(.plain) down from each LCENavigationView
instance instead of waiting on the LCEssentials package fix
(committed separately, unpublished: LC_Essentials commit 8b0f650) to
be released and this repo's Package.resolved bumped. Overrides
iOS 26's automatic Liquid Glass chrome on LCENavigationView's
internal nav buttons - including the invisible backfilled mirror
button on whichever side has no real action - without affecting any
button that already sets its own explicit style closer to itself.
This commit is contained in:
Daniel Arantes Loverde
2026-08-24 15:18:57 -03:00
parent 18497b017a
commit 29c80d06af
16 changed files with 18 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ struct PizzaFlavorAddonsSheet: View {
.setLeftButton(image: AnyView(AppBackButtonIcon())) { dismiss() }
.setTitle(text: Text("Adicionais").font(AppTypography.heading2).foregroundStyle(AppColors.textPrimary))
.setNavigationBarBackgroundColor(AppColors.backgroundLight)
.buttonStyle(.plain)
}
private var content: some View {