mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-31 04:04:46 -04:00
fix map our NodeInfo reference
This commit is contained in:
@@ -463,7 +463,7 @@ class MapFragment : ScreenFragment("Map Fragment"), Logging, View.OnClickListene
|
||||
marker = MarkerWithLabel(map, label)
|
||||
marker.title = "${it.longName} ${node.batteryStr}"
|
||||
marker.snippet = model.gpsString(p)
|
||||
model.nodeDB.ourNodeInfo.value?.let { our ->
|
||||
model.nodeDB.nodes.value?.get(model.nodeDB.myId.value)?.let { our ->
|
||||
our.distanceStr(node)?.let { dist ->
|
||||
marker.subDescription = getString(R.string.map_subDescription).format(
|
||||
our.bearing(node),
|
||||
|
||||
Reference in New Issue
Block a user