try to fix crash

This commit is contained in:
Milos Kozak 2020-06-11 23:33:29 +02:00
parent 0e624a803f
commit dae717d524

View file

@ -883,7 +883,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
} }
// finally enforce drawing of graphs in UI thread // finally enforce drawing of graphs in UI thread
graphData.performUpdate() graphData.performUpdate()
for (g in 0 until secondaryGraphs.size) { for (g in 0 until secondaryGraphsData.size) {
secondaryGraphsLabel[g].text = overviewMenus.enabledTypes(g + 1) secondaryGraphsLabel[g].text = overviewMenus.enabledTypes(g + 1)
secondaryGraphs[g].visibility = ( secondaryGraphs[g].visibility = (
overviewMenus.setting[g + 1][OverviewMenus.CharType.ABS.ordinal] || overviewMenus.setting[g + 1][OverviewMenus.CharType.ABS.ordinal] ||