diff --git a/README.md b/README.md index 1a26444..2642c20 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ struct HomeView: View { coordinator.navigateTo(.feed, style: .init(segue: .present)) } Button("Present with Detents") { - coordinator.navigateTo(.settings, style: .init(segue: .present, detents: Detents(presentationDetents: [.medium]))) + coordinator.navigateTo(.feed, style: .init(segue: .present, detents: Detents(presentationDetents: [.medium]))) } Button("PresentFullScreen") { coordinator.navigateTo(.feed, style: .init(segue: .presentFullScreen)) @@ -221,9 +221,6 @@ struct Feed: View { dismiss() } } - .sheet(isPresented: $preseting) { - Text("test") - } } } ```