diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesChartFragment.java index 796a67c81..35cffc9cc 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesChartFragment.java @@ -283,8 +283,8 @@ public class ActivitySummariesChartFragment extends AbstractActivityChartFragmen return activitySamplesData; } } - // We failed to find a heart rate dataset, append ours - dataSets.add(heartRateSet); + // We failed to find a heart rate dataset. We can't append ours, or it will crash + //dataSets.add(heartRateSet); return activitySamplesData; } else { final LineData lineData = new LineData(Collections.singletonList(heartRateSet));