mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 19:15:50 +01:00
Activity Charts: Update date info when refreshed
This commit is contained in:
parent
a6053eda77
commit
292a5d11b5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user