refactor: hide GPS satellites with empty values

pull/1048/head
andrekir 2024-05-19 06:47:48 -03:00
rodzic de3d74b979
commit f822080d0c
1 zmienionych plików z 16 dodań i 13 usunięć

Wyświetl plik

@ -216,6 +216,8 @@ fun NodeInfo(
suffix = elevationSuffix
)
val satCount = position.satellitesInView
if (satCount > 0) {
SatelliteCountInfo(
modifier = Modifier.constrainAs(sats) {
top.linkTo(alt.bottom, 4.dp)
@ -227,9 +229,10 @@ fun NodeInfo(
)
width = Dimension.preferredWrapContent
},
satCount = position.satellitesInView
satCount = satCount
)
}
}
BatteryInfo(
modifier = Modifier.constrainAs(batt) {