1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-26 20:06:52 +01:00

Activity Charts: Update date info when refreshed

This commit is contained in:
José Rebelo 2024-10-30 20:50:58 +00:00
parent a6053eda77
commit 292a5d11b5

View File

@ -207,6 +207,7 @@ public abstract class AbstractChartFragment<D extends ChartsData> 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);