mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add EnvironmentMetrics radiation to node detail
This commit is contained in:
parent
7c63d0fe2b
commit
94dc3dead1
2 changed files with 22 additions and 0 deletions
|
|
@ -449,6 +449,13 @@ private fun EnvironmentMetrics(
|
|||
value = "%.2f kg".format(weight)
|
||||
)
|
||||
}
|
||||
if (radiation != 0f) {
|
||||
InfoCard(
|
||||
icon = ImageVector.vectorResource(R.drawable.ic_filled_radioactive_24),
|
||||
text = "Radiation",
|
||||
value = "%.1f µR".format(radiation)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue