From 292a5d11b552a055ba8dfbadf97e7a915bbde3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Wed, 30 Oct 2024 20:50:58 +0000 Subject: [PATCH] Activity Charts: Update date info when refreshed --- .../gadgetbridge/activities/charts/AbstractChartFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java index 1d589c0aa..6f6c58120 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java @@ -207,6 +207,7 @@ public abstract class AbstractChartFragment extends Abstra protected void onReceive(Context context, Intent intent) { String action = intent.getAction(); if (ChartsHost.REFRESH.equals(action)) { + updateDateInfo(getStartDate(), getEndDate()); refresh(); } else if (ChartsHost.DATE_NEXT_DAY.equals(action)) { handleDate(getStartDate(), getEndDate(), +1);