Stopover and Legs, ManeuverType
This commit is contained in:
@@ -17,8 +17,8 @@ android {
|
||||
applicationId = "com.kouros.navigation"
|
||||
minSdk = 33
|
||||
targetSdk = 36
|
||||
versionCode = 87
|
||||
versionName = "0.2.0.87"
|
||||
versionCode = 90
|
||||
versionName = "0.2.3.90"
|
||||
base.archivesName = "navi-$versionName"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ fun Categories(
|
||||
modifier = Modifier.horizontalScroll(scrollState)
|
||||
) {
|
||||
Button(onClick = {
|
||||
val places = viewModel.loadRecentPlace(applicationContext)
|
||||
val places = viewModel.loadRecentPlaces(applicationContext)
|
||||
val toLocation = location(places.first()!!.longitude, places.first()!!.latitude)
|
||||
viewModel.loadRoute(applicationContext, location, listOf(toLocation), 0F)
|
||||
closeSheet()
|
||||
|
||||
@@ -116,7 +116,7 @@ fun Home(
|
||||
) {
|
||||
Row(horizontalArrangement = Arrangement.SpaceBetween) {
|
||||
Button(onClick = {
|
||||
val places = viewModel.loadRecentPlace(applicationContext)
|
||||
val places = viewModel.loadRecentPlaces(applicationContext)
|
||||
val toLocation = location(places.first()!!.longitude, places.first()!!.latitude)
|
||||
viewModel.loadRoute(applicationContext, location, listOf(toLocation), 0F)
|
||||
closeSheet()
|
||||
|
||||
Reference in New Issue
Block a user