mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-22 00:06:48 +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)).
|
||||
setFormatter(new SimpleLineChartValueFormatter(1));
|
||||
|
||||
if (measurementView.isVisible()) {
|
||||
if (measurementView.isVisible() && prefs.getBoolean(String.valueOf("actionButton" + measurementView.getName()), true)) {
|
||||
diagramLineList.add(lineaDiagram);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user