mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Tidy up node filtering logic
This commit is contained in:
parent
f805796af9
commit
9957b35d33
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ struct MapViewSwiftUI: UIViewRepresentable {
|
|||
self.loadedLastUpdatedLocalMapFile = self.lastUpdatedLocalMapFile
|
||||
|
||||
if showBreadcrumbLines {
|
||||
let nodePositions = positions.filter { $0.time! > Calendar.current.startOfDay(for: Date()) }
|
||||
let nodePositions = positions.filter { $0.time! >= Calendar.current.startOfDay(for: Date()) }
|
||||
let lineCoords = nodePositions.map ({
|
||||
(position) -> CLLocationCoordinate2D in
|
||||
return position.nodeCoordinate!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue