Skip to content

Commit

Permalink
[2.2.1.4] location passing to routecard fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelReyes committed Oct 19, 2023
1 parent 9ca21c7 commit f8b9b8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class TKUIHomeViewControllerFragment :
private val searchCardListener =
object : TKUILocationSearchViewControllerFragment.TKUILocationSearchViewControllerListener {
override fun onLocationSelected(location: Location) {
routeLocation(location)
routeLocation(destination = location)
}

override fun onFixedSuggestionSelected(any: Any) {
Expand Down Expand Up @@ -399,7 +399,7 @@ class TKUIHomeViewControllerFragment :
}

private fun routeLocation(
origin: Location,
origin: Location? = null,
destination: Location? = null
) {
val routeFragment = TKUIRouteFragment.newInstance(
Expand Down

0 comments on commit f8b9b8d

Please sign in to comment.