Skip to content

Commit 1d67024

Browse files
committed
add contextual info closure to CustomMap in MapView. Only printing the value for now.
1 parent c0fcdd1 commit 1d67024

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

GoInfoGame/GoInfoGame/UI/Map/MapView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ struct MapView: View {
2323
trackingMode: $trackingMode,
2424
items: viewModel.items,
2525
selectedQuest: $viewModel.selectedQuest,
26-
isPresented: $isPresented)
26+
isPresented: $isPresented, contextualInfo: { contextualInfo in
27+
print(contextualInfo)
28+
})
2729
.edgesIgnoringSafeArea(.all)
2830

2931
if viewModel.isLoading {

0 commit comments

Comments
 (0)