[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:
@@ -35,6 +35,7 @@ struct UserProfileView: View {
|
||||
.setLeftButton(image: AnyView(AppBackButtonIcon())) { dismiss() }
|
||||
.setTitle(text: Text("Meu Perfil").font(AppTypography.heading2).foregroundStyle(AppColors.textPrimary))
|
||||
.setNavigationBarBackgroundColor(AppColors.backgroundLight)
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
|
||||
private var content: some View {
|
||||
|
||||
Reference in New Issue
Block a user