Skip to content

Commit 85061f8

Browse files
committed
Replace straggler NavigationView
1 parent 8d38bd6 commit 85061f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Examples/KlaviyoSwiftExamples/Shared/CheckoutView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct CheckoutView: View {
1919
@State private var localCartItems: [CartItem] = []
2020

2121
var body: some View {
22-
NavigationView {
22+
NavigationStack {
2323
VStack {
2424
if localCartItems.isEmpty {
2525
EmptyCartView {
@@ -115,7 +115,6 @@ struct CheckoutView: View {
115115
.navigationTitle("Items in your Cart")
116116
.navigationBarTitleDisplayMode(.inline)
117117
}
118-
.navigationViewStyle(StackNavigationViewStyle())
119118
.onAppear {
120119
loadCartItems()
121120
}

0 commit comments

Comments
 (0)