Remove VIP, clean up add channel method

This commit is contained in:
Garth Vander Houwen 2024-04-01 10:51:06 -07:00
parent 515bc7fcd6
commit d64acccc3e
7 changed files with 493 additions and 31 deletions

View file

@ -128,13 +128,13 @@ struct NodeMapContent: MapContent {
}
}
}
// .tag(position.time)
.tag(position.time)
.annotationTitles(.automatic)
.annotationSubtitles(.automatic)
}
/// Node History
if showNodeHistory {
if position.latest == false && position.nodePosition?.user?.vip ?? false {
if position.latest == false && position.nodePosition?.favorite ?? false {
let pf = PositionFlags(rawValue: Int(position.nodePosition?.metadata?.positionFlags ?? 771))
let headingDegrees = Angle.degrees(Double(position.heading))
Annotation("", coordinate: position.coordinate) {