From dae717d5247e9733e0e4b971566c757f451212a7 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 11 Jun 2020 23:33:29 +0200 Subject: [PATCH] try to fix crash --- .../androidaps/plugins/general/overview/OverviewFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt index 9cc93eca9d..be9370d27c 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt @@ -883,7 +883,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList } // finally enforce drawing of graphs in UI thread graphData.performUpdate() - for (g in 0 until secondaryGraphs.size) { + for (g in 0 until secondaryGraphsData.size) { secondaryGraphsLabel[g].text = overviewMenus.enabledTypes(g + 1) secondaryGraphs[g].visibility = ( overviewMenus.setting[g + 1][OverviewMenus.CharType.ABS.ordinal] ||