feat: add EnvironmentMetrics radiation to node detail

This commit is contained in:
andrekir 2024-12-05 19:39:37 -03:00
parent 7c63d0fe2b
commit 94dc3dead1
2 changed files with 22 additions and 0 deletions

View file

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