diff --git a/app/src/main/java/com/geeksville/mesh/ui/NodeDetail.kt b/app/src/main/java/com/geeksville/mesh/ui/NodeDetail.kt index fc0fa23aa..e656e2adc 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/NodeDetail.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/NodeDetail.kt @@ -457,14 +457,14 @@ private fun EnvironmentMetrics( InfoCard( icon = Icons.Default.Speed, text = "Pressure", - value = "%.0f".format(barometricPressure) + value = "%.0f hPa".format(barometricPressure) ) } if (gasResistance != 0f) { InfoCard( icon = Icons.Default.BlurOn, text = "Gas Resistance", - value = "%.0f".format(gasResistance) + value = "%.0f MΩ".format(gasResistance) ) } if (voltage != 0f) { @@ -499,7 +499,7 @@ private fun EnvironmentMetrics( InfoCard( icon = Icons.Default.LightMode, text = "Lux", - value = "%.0f".format(lux) + value = "%.0f lx".format(lux) ) } if (hasWindSpeed()) { @@ -523,7 +523,7 @@ private fun EnvironmentMetrics( InfoCard( icon = ImageVector.vectorResource(R.drawable.ic_filled_radioactive_24), text = "Radiation", - value = "%.1f µR".format(radiation) + value = "%.1f µR/h".format(radiation) ) } }