We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d38bd6 commit 85061f8Copy full SHA for 85061f8
Examples/KlaviyoSwiftExamples/Shared/CheckoutView.swift
@@ -19,7 +19,7 @@ struct CheckoutView: View {
19
@State private var localCartItems: [CartItem] = []
20
21
var body: some View {
22
- NavigationView {
+ NavigationStack {
23
VStack {
24
if localCartItems.isEmpty {
25
EmptyCartView {
@@ -115,7 +115,6 @@ struct CheckoutView: View {
115
.navigationTitle("Items in your Cart")
116
.navigationBarTitleDisplayMode(.inline)
117
}
118
- .navigationViewStyle(StackNavigationViewStyle())
119
.onAppear {
120
loadCartItems()
121
0 commit comments