Skip to content

Commit 01ec43a

Browse files
committed
Update.
1 parent 097003b commit 01ec43a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CarPlayExample/AppDelegate+CarPlayManagerDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ extension AppDelegate: CarPlayManagerDelegate {
180180
finalDestinationAnnotation.image = .default
181181
}
182182

183-
pointAnnotationManager.syncAnnotations([finalDestinationAnnotation])
183+
pointAnnotationManager.annotations = [finalDestinationAnnotation]
184184
}
185185

186186
func carPlayManager(_ carPlayManager: CarPlayManager,

Navigation-Examples/Examples/Custom-Server.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ extension CustomServerViewController: NavigationViewControllerDelegate {
8484
let routeOptions = RouteOptions(matchOptions: matchOptions)
8585

8686
// Set the route
87-
self?.navigationViewController?.navigationService.router.updateRoute(with: .init(routeResponse: response, routeIndex: 0), routeOptions: routeOptions)
87+
self?.navigationViewController?.navigationService.router.updateRoute(with: .init(routeResponse: response, routeIndex: 0), routeOptions: routeOptions,
88+
completion: nil)
8889
}
8990
}
9091
}

0 commit comments

Comments
 (0)