Hook position popower back up on the mesh map

This commit is contained in:
Garth Vander Houwen 2024-06-02 23:53:26 -07:00
parent 82a8336e35
commit 84fb8c9b60
2 changed files with 4 additions and 2 deletions

View file

@ -188,7 +188,7 @@ struct DeviceMetricsLog: View {
) {
Button("device.metrics.delete", role: .destructive) {
if clearTelemetry(destNum: node.num, metricsType: 0, context: context) {
logger.debug("Cleared Device Metrics for \(node.num)")
logger.notice("Cleared Device Metrics for \(node.num)")
} else {
logger.error("Clear Device Metrics Log Failed")
}

View file

@ -76,8 +76,10 @@ struct MeshMapContent: MapContent {
}
}
}
.onTapGesture { location in
selectedPosition = (selectedPosition == position ? nil : position)
}
}
/// Node History and Route Lines for favorites
if let nodePosition = position.nodePosition,
nodePosition.favorite,