Skip to content

Commit 0ba9d4f

Browse files
committed
Fixes stop name and address not passed on to TKStopCoordinate
1 parent 0fa761a commit 0ba9d4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/TripKit/model/TKCoordinates.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public class TKStopCoordinate: TKModeCoordinate {
9494

9595
public init(_ stop: TKAPI.Stop) {
9696
super.init(modeInfo: stop.modeInfo, coordinate: .init(latitude: stop.lat, longitude: stop.lng))
97+
self.name = stop.name
98+
self.address = stop.address
9799
isDraggable = false
98100
stopCode = stop.code
99101
services = stop.services

0 commit comments

Comments
 (0)