Skip to content

Commit c247187

Browse files
committed
Fix compilation warning.
1 parent 9ac46b2 commit c247187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Example/AppDelegate+CarPlay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ extension AppDelegate: CarPlayManagerDelegate {
7373
navigationServiceAlong route: Route,
7474
routeIndex: Int,
7575
routeOptions: RouteOptions,
76-
desiredSimulationMode: SimulationMode) -> NavigationService {
76+
desiredSimulationMode: SimulationMode) -> NavigationService? {
7777
if let navigationViewController = self.window?.rootViewController?.presentedViewController as? NavigationViewController,
7878
let navigationService = navigationViewController.navigationService {
7979
// Do not set simulation mode if we already have an active navigation session.

0 commit comments

Comments
 (0)