Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CarPlay maneuver color fix #4482

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

Udumft
Copy link
Contributor

@Udumft Udumft commented Jun 16, 2023

Description

Fixed applying correct style type when generating maneuver arrow for CarPlay by using the style type instead of interface idiom

…ype when generating maneuver arrow for carplay
@Udumft Udumft self-assigned this Jun 16, 2023
@codecov
Copy link

codecov bot commented Jun 16, 2023

Codecov Report

Merging #4482 (aa03173) into main (c4c4528) will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4482      +/-   ##
==========================================
+ Coverage   58.30%   58.31%   +0.01%     
==========================================
  Files         189      189              
  Lines       21196    21190       -6     
==========================================
  Hits        12358    12358              
+ Misses       8838     8832       -6     
Impacted Files Coverage Δ
...oxNavigation/CarPlayNavigationViewController.swift 13.24% <0.00%> (+0.01%) ⬆️
Sources/MapboxNavigation/VisualInstruction.swift 5.45% <0.00%> (+0.16%) ⬆️

@Udumft Udumft marked this pull request as ready for review June 16, 2023 13:16
@Udumft Udumft requested a review from a team as a code owner June 16, 2023 13:16
@@ -919,9 +919,8 @@ open class CarPlayNavigationViewController: UIViewController, BuildingHighlighti

// Add maneuver arrow
if #available(iOS 13.0, *) {
let userInterfaceStyle = traitCollection.userInterfaceStyle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just wondering if we have any CarPlay screenshot tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have maneuver view snapshot test, but for CarPlay it is presented not like a view, but through the generated image, and that's why it was not updated as the rest of the views. Using image instead of a view is a CarPlay specifics

@Udumft Udumft merged commit 58a300c into main Jun 19, 2023
4 checks passed
@Udumft Udumft deleted the vk/NAVIOS-1233-carplay-maneuver-color branch June 19, 2023 13:52
Udumft added a commit that referenced this pull request Jun 19, 2023
* vk/NAVIOS-1233-carplay-maneuver-color: fixed applying correct style type when generating maneuver arrow for carplay; CHANGELOG updated
Udumft added a commit that referenced this pull request Jun 20, 2023
* vk/NAVIOS-1233-carplay-maneuver-color: fixed applying correct style type when generating maneuver arrow for carplay; CHANGELOG updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants