fix: Application crash prevention

This commit is contained in:
Piotr Dec 2024-07-31 20:28:45 +02:00
parent 785a35473e
commit bf878dc2c6
Signed by: stawros
GPG key ID: F89F27AD8F881A91
2 changed files with 7 additions and 1 deletions

View file

@ -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 {