mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-01 19:33:28 -05:00
display timeAgo properly and show coords in users screen
This commit is contained in:
@@ -13,6 +13,7 @@ import com.geeksville.android.Logging
|
||||
import com.geeksville.mesh.NodeInfo
|
||||
import com.geeksville.mesh.R
|
||||
import com.geeksville.mesh.model.UIViewModel
|
||||
import com.geeksville.util.formatAgo
|
||||
import com.mapbox.geojson.Feature
|
||||
import com.mapbox.geojson.FeatureCollection
|
||||
import com.mapbox.geojson.Point
|
||||
@@ -79,7 +80,7 @@ class MapFragment : ScreenFragment("Map"), Logging {
|
||||
)
|
||||
)
|
||||
node.user?.let {
|
||||
f.addStringProperty("name", it.longName)
|
||||
f.addStringProperty("name", it.longName + " " + formatAgo(node.lastSeen))
|
||||
}
|
||||
f
|
||||
}
|
||||
|
||||
Submodule app/src/main/proto updated: 7c025b9a4d...ac26ffdc71
2
design
2
design
Submodule design updated: a810741521...d0339f0297
Submodule geeksville-androidlib updated: 99cf0da30f...6da250358e
Reference in New Issue
Block a user