File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Shared/Samples/Augment reality to navigate route Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ struct AugmentRealityToNavigateRouteView: View {
111111
112112 /// Creates a graphics overlay and adds a graphic (with solid yellow 3D tube symbol)
113113 /// to represent the route.
114- @MainActor
115114 private func makeRouteOverlay( routeResult: RouteResult , routeGraphic: Graphic ) -> GraphicsOverlay {
116115 let graphicsOverlay = GraphicsOverlay ( )
117116 graphicsOverlay. sceneProperties. surfacePlacement = . absolute
@@ -165,7 +164,6 @@ struct AugmentRealityToNavigateRouteView: View {
165164 }
166165
167166 /// Starts navigating the route.
168- @MainActor
169167 private func startNavigation( ) async throws {
170168 guard let routeResult else { return }
171169 let routeTracker = RouteTracker (
You can’t perform that action at this time.
0 commit comments