Skip to content

Commit 83e3815

Browse files
committed
Reset name when dragging, too
1 parent f337c30 commit 83e3815

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/TripKit/model/TKNamedCoordinate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ open class TKNamedCoordinate : NSObject, NSSecureCoding, Codable, TKClusterable
1717

1818
public fileprivate(set) var coordinate: CLLocationCoordinate2D {
1919
didSet {
20+
name = nil // Often closely tied to the location
2021
_address = nil
2122
_placemark = nil
2223
}

0 commit comments

Comments
 (0)