From b01169a307ad121da587669a09c0a2d67c1211a9 Mon Sep 17 00:00:00 2001 From: a0z Date: Thu, 22 Aug 2024 18:16:28 +0200 Subject: [PATCH] HRV Status - fix missing linechart datasets when gap in data --- .../gadgetbridge/activities/charts/HRVStatusFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/HRVStatusFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/HRVStatusFragment.java index 24d986c10..4942c9e3b 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/HRVStatusFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/HRVStatusFragment.java @@ -149,7 +149,9 @@ public class HRVStatusFragment extends AbstractChartFragment clone = new ArrayList<>(lineEntries.size()); + clone.addAll(lineEntries); + lineDataSets.add(createDataSet(clone)); lineEntries.clear(); } }