mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: Line breaks for time separations linked to TimeFrame (#1502)
This commit is contained in:
parent
45e50b829a
commit
16a8503207
3 changed files with 19 additions and 5 deletions
|
|
@ -234,7 +234,8 @@ private fun DeviceMetricsChart(
|
|||
path = path,
|
||||
oldestTime = oldest.time,
|
||||
timeRange = timeDiff,
|
||||
width = width
|
||||
width = width,
|
||||
timeThreshold = selectedTime.timeThreshold()
|
||||
) { i ->
|
||||
val telemetry = telemetries.getOrNull(i) ?: telemetries.last()
|
||||
val ratio = telemetry.deviceMetrics.batteryLevel / MAX_PERCENT_VALUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue