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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user