-
Notifications
You must be signed in to change notification settings - Fork 8
feat(iOS): non-subway route picker #1163
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
Conversation
8cbeff9 to
9f016ed
Compare
| RoutePickerPath.Bus(), | ||
| RoutePickerPath.Silver(), | ||
| RoutePickerPath.CommuterRail(), | ||
| RoutePickerPath.Ferry(), |
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.
For Kotlin objects I think it’s better to use .shared than (), although I’d expect () to return the sole instance anyway.
| ] | ||
|
|
||
| private var headerTitle: String { | ||
| switch path { |
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.
If you use SKIE’s onEnum(of: path) then you can just have case .root etc with no unnecessary default.
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.
Oh nice! Thank you
Summary
Ticket: | Favorites | Add stops flow - non-subway list
Adds non-subway functionality to route picker view. Also did a few small design fixes.
Testing
Added/ported tests for new route picker functionality