fix: Application crash prevention
This commit is contained in:
parent
785a35473e
commit
bf878dc2c6
2 changed files with 7 additions and 1 deletions
|
@ -56,6 +56,8 @@ class MapboxMapper {
|
|||
}
|
||||
}
|
||||
}
|
||||
// TODO: implement
|
||||
state.lanes = Lanes(Arrows(listOf()), Arrows(listOf()))
|
||||
this.laneGuidance?.apply {
|
||||
this.allLanes.apply {
|
||||
println()
|
||||
|
|
|
@ -136,7 +136,11 @@ class GarminManeuver : GarminModelItem {
|
|||
var flag: Boolean = false // WTF?
|
||||
|
||||
override fun merge(item: GarminModelItem) {
|
||||
TODO("Not yet implemented")
|
||||
val maneuver = item as GarminManeuver
|
||||
this.lanes = maneuver.lanes
|
||||
this.direction = maneuver.direction
|
||||
this.distance = maneuver.distance
|
||||
this.flag = maneuver.flag
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue