Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chizhavko committed Apr 3, 2024
1 parent be79274 commit b7c2856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/MapboxNavigation/CarPlayManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ extension CarPlayManager: CarPlayMapViewControllerDelegate {

public func carPlayNavigationViewController(_ carPlayNavigationViewController: CarPlayNavigationViewController,
guidanceBackgroundColorFor style: UIUserInterfaceStyle) -> UIColor? {
delegate?.carPlayNavigationViewController(self, guidanceBackgroundColor: style)
delegate?.carPlayNavigationViewController(self, guidanceBackgroundColorFor: style)
}

public func carPlayMapViewController(_ carPlayMapViewController: CarPlayMapViewController,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ open class CarPlayNavigationViewController: UIViewController, BuildingHighlighti
}
}

let backgroundColor = delegate?.carPlayNavigationViewController(self, guidanceBackgroundColor: currentUserInterfaceStyle)
let backgroundColor = delegate?.carPlayNavigationViewController(self, guidanceBackgroundColorFor: currentUserInterfaceStyle)

switch currentUserInterfaceStyle {
case .dark:
Expand Down

0 comments on commit b7c2856

Please sign in to comment.