-
Notifications
You must be signed in to change notification settings - Fork 310
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
Conversation
…ype when generating maneuver arrow for carplay
Codecov Report
@@ 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
|
@@ -919,9 +919,8 @@ open class CarPlayNavigationViewController: UIViewController, BuildingHighlighti | |||
|
|||
// Add maneuver arrow | |||
if #available(iOS 13.0, *) { | |||
let userInterfaceStyle = traitCollection.userInterfaceStyle |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
* vk/NAVIOS-1233-carplay-maneuver-color: fixed applying correct style type when generating maneuver arrow for carplay; CHANGELOG updated
Description
Fixed applying correct style type when generating maneuver arrow for CarPlay by using the style type instead of interface idiom