display timeAgo properly and show coords in users screen

pull/259/head
goga 2021-03-16 00:05:28 +05:00
rodzic c8107441de
commit 53745ca9f5
4 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -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
}

@ -1 +1 @@
Subproject commit 7c025b9a4d54bb410ec17ee653122861b413f177
Subproject commit ac26ffdc71dad5765124186df5ec38771a0e5240

2
design

@ -1 +1 @@
Subproject commit a81074152157fa54b0d02ccbbd6a6357cc3cedcf
Subproject commit d0339f0297c629f1bd6873b4abccfecb98443538

@ -1 +1 @@
Subproject commit 99cf0da30fe41163a735ac291f3dd018a7d6295d
Subproject commit 6da250358ed13e3c58fd4fa2a123b01b3826d4bf