From 93046d0354c4b51eca437c08c348d3131676c4c3 Mon Sep 17 00:00:00 2001 From: Philoul Date: Thu, 27 May 2021 08:43:45 +0200 Subject: [PATCH] Revert to val for ratio and dev slope Scale --- .../androidaps/plugins/general/overview/OverviewData.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewData.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewData.kt index 9db9f1b5fa..11a1ff2203 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewData.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewData.kt @@ -286,13 +286,13 @@ class OverviewData @Inject constructor( var maxRatioValueFound = 5.0 //even if sens data equals 0 for all the period, minimum scale is between 95% and 105% var minRatioValueFound = -maxRatioValueFound - var ratioScale = Scale() + val ratioScale = Scale() var ratioSeries: LineGraphSeries = LineGraphSeries() var maxFromMaxValueFound = Double.MIN_VALUE var maxFromMinValueFound = Double.MIN_VALUE - var dsMaxScale = Scale() - var dsMinScale = Scale() + val dsMaxScale = Scale() + val dsMinScale = Scale() var dsMaxSeries: LineGraphSeries = LineGraphSeries() var dsMinSeries: LineGraphSeries = LineGraphSeries()