Skip to content

Commit

Permalink
Merge pull request #953 from meshtastic/twoway-traceroute
Browse files Browse the repository at this point in the history
Remove testing data
  • Loading branch information
garthvh authored Oct 5, 2024
2 parents 29a050c + 6f07eea commit 51c8e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Meshtastic/Views/Nodes/TraceRouteLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ struct TraceRouteLog: View {
@ViewBuilder func contents(animation: Animation? = nil) -> some View {
ForEach(0..<indexes, id: \.self) { idx in
TraceRouteComponent(animation: animation) {
let hops = getTraceRouteHops(context: context)// selectedRoute?.hops?.array as? [TraceRouteHopEntity] ?? [] // getTraceRouteHops(context: PersistenceController.preview.container.viewContext)//
let hops = selectedRoute?.hops?.array as? [TraceRouteHopEntity] ?? [] // getTraceRouteHops(context: PersistenceController.preview.container.viewContext)//
if idx % 2 == 0 {
let i = idx / 2
let snrColor = getSnrColor(snr: hops[i].snr, preset: modemPreset)
Expand Down

0 comments on commit 51c8e16

Please sign in to comment.