diff --git a/app/src/main/java/com/geeksville/mesh/ui/components/DeviceMetrics.kt b/app/src/main/java/com/geeksville/mesh/ui/components/DeviceMetrics.kt index 914bdfaa0..0aec01ccf 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/components/DeviceMetrics.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/components/DeviceMetrics.kt @@ -183,7 +183,7 @@ private fun DeviceMetricsChart( lastX = (x1 + x2) / 2f - quadraticBezierTo(x1, y1, lastX, (y1 + y2) / 2f) + quadraticTo(x1, y1, lastX, (y1 + y2) / 2f) } } diff --git a/app/src/main/java/com/geeksville/mesh/ui/components/EnvironmentMetrics.kt b/app/src/main/java/com/geeksville/mesh/ui/components/EnvironmentMetrics.kt index 3873f087e..8afbbc071 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/components/EnvironmentMetrics.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/components/EnvironmentMetrics.kt @@ -235,7 +235,7 @@ private fun EnvironmentMetricsChart( moveTo(x1, y1) } lastTempX = (x1 + x2) / 2f - quadraticBezierTo( + quadraticTo( x1, y1, lastTempX, (y1 + y2) / 2f ) } @@ -288,7 +288,7 @@ private fun EnvironmentMetricsChart( moveTo(x1, y1) } lastHumidityX = (x1 + x2) / 2f - quadraticBezierTo( + quadraticTo( x1, y1, lastHumidityX, (y1 + y2) / 2f ) } @@ -341,7 +341,7 @@ private fun EnvironmentMetricsChart( moveTo(x1, y1) } lastIaqX = (x1 + x2) / 2f - quadraticBezierTo( + quadraticTo( x1, y1, lastIaqX,