kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor: hide GPS satellites with empty values
rodzic
de3d74b979
commit
f822080d0c
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue