We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a7360c commit 1fcf56bCopy full SHA for 1fcf56b
MCMaps/Legacy/Views/ContentViewToolbar.swift
@@ -31,7 +31,7 @@ struct ContentViewToolbar: ToolbarContent {
31
}
32
33
ToolbarItem {
34
- NavigationLink(value: CartographyRoute.createPin(.zero)) {
+ NavigationLink(value: CartographyRoute.createPin(.zero, nil)) {
35
Label("Create Pin", image: "mappin.circle.badge.plus")
36
37
MCMaps/Legacy/Views/Sidebar/RecentLocationsListSection.swift
@@ -81,7 +81,7 @@ struct RecentLocationsListSection: View {
81
private func createPinButton(for position: CGPoint) -> some View {
82
Group {
83
#if os(iOS)
84
- NavigationLink(value: CartographyRoute.createPin(position)) {
+ NavigationLink(value: CartographyRoute.createPin(position, nil)) {
85
Label("Pin...", systemImage: "mappin")
86
87
#else
0 commit comments