1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-21 16:02:04 +02:00

disable/enable overview graph lines depending on the graph buttons

This commit is contained in:
OliE
2018-03-18 12:04:16 +01:00
parent 5accf530bc
commit 06549f5b3f

View File

@@ -251,7 +251,7 @@ public class OverviewFragment extends Fragment implements FragmentUpdateListener
setHasPoints(prefs.getBoolean("pointsEnable", true)). setHasPoints(prefs.getBoolean("pointsEnable", true)).
setFormatter(new SimpleLineChartValueFormatter(1)); setFormatter(new SimpleLineChartValueFormatter(1));
if (measurementView.isVisible()) { if (measurementView.isVisible() && prefs.getBoolean(String.valueOf("actionButton" + measurementView.getName()), true)) {
diagramLineList.add(lineaDiagram); diagramLineList.add(lineaDiagram);
} }
} }