Disable slope deviation unless on dev branch, fixes #1096.

This commit is contained in:
Johannes Mockenhaupt 2018-06-20 22:07:37 +02:00
parent af8e1fb32f
commit 8036f8bcde
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -1422,7 +1422,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
secondGraphData.addDeviations(fromTime, now, useDevForScale, 1d);
if (SP.getBoolean("showratios", false))
secondGraphData.addRatio(fromTime, now, useRatioForScale, 1d);
if (SP.getBoolean("showdevslope", false))
if (SP.getBoolean("showdevslope", false) && MainApp.devBranch)
secondGraphData.addDeviationSlope(fromTime, now, useDSForScale, 1d);
// **** NOW line ****