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

Use Style for unknown eta color #549

Closed
wants to merge 2 commits into from
Closed

Use Style for unknown eta color #549

wants to merge 2 commits into from

Conversation

bsudekum
Copy link
Contributor

We were not properly setting the ETA color according to the style when it was unknown.

@frederoni What do you think of this approach? Any other way we can fix this?

/cc @pveugen

@@ -25,6 +27,10 @@ class RouteTableViewController: UIViewController {
distanceFormatter.numberFormatter.locale = .nationalizedCurrent
}

override func viewDidLoad() {
defaultTimeRemainingColor = headerView.timeRemaining.textColor
Copy link
Contributor

Choose a reason for hiding this comment

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

Not calling super here can result in all kinds of obscure behavior.

@ericrwolfe
Copy link
Contributor

ericrwolfe commented Aug 29, 2017

Closing in favor of a traitCollection style refactor #536 @frederoni

@ericrwolfe ericrwolfe closed this Aug 29, 2017
@1ec5 1ec5 deleted the update-eta-color branch December 5, 2019 18:18
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.

None yet

3 participants