fix HistoryBrowser crash
This commit is contained in:
parent
fbb15cac70
commit
064389d066
|
@ -338,6 +338,7 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
}
|
}
|
||||||
// finally enforce drawing of graphs in UI thread
|
// finally enforce drawing of graphs in UI thread
|
||||||
graphData.performUpdate()
|
graphData.performUpdate()
|
||||||
|
if (!bgOnly)
|
||||||
for (g in 0 until secondaryGraphs.size) {
|
for (g in 0 until secondaryGraphs.size) {
|
||||||
secondaryGraphsLabel[g].text = overviewMenus.enabledTypes(g + 1)
|
secondaryGraphsLabel[g].text = overviewMenus.enabledTypes(g + 1)
|
||||||
secondaryGraphs[g].visibility = (!bgOnly && (
|
secondaryGraphs[g].visibility = (!bgOnly && (
|
||||||
|
|
Loading…
Reference in a new issue