Skip to content

Commit e6de766

Browse files
committed
Remove MainActor annotations
1 parent ca30768 commit e6de766

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Shared/Samples/Augment reality to navigate route/AugmentRealityToNavigateRouteView.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)