mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: Honor radio's option to use Fahrenheit (#658)
This commit is contained in:
parent
04e8a6a514
commit
4e410622d8
2 changed files with 6 additions and 4 deletions
|
|
@ -205,8 +205,9 @@ class UsersFragment : ScreenFragment("Users"), Logging {
|
|||
|
||||
holder.lastTime.text = formatAgo(n.lastHeard)
|
||||
|
||||
if (n.envMetricStr.isNotEmpty()) {
|
||||
holder.envMetrics.text = n.envMetricStr
|
||||
val envMetrics = n.envMetricStr(model.module.telemetry.environmentDisplayFahrenheit)
|
||||
if (envMetrics.isNotEmpty()) {
|
||||
holder.envMetrics.text = envMetrics
|
||||
holder.envMetrics.visibility = View.VISIBLE
|
||||
} else {
|
||||
holder.envMetrics.visibility = View.GONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue