mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Fix average calculation when scrolling between days
This commit is contained in:
parent
5d0dec1c48
commit
a1a010b4b4
@ -126,7 +126,7 @@ public abstract class AbstractWeekChartFragment extends AbstractChartFragment {
|
||||
|
||||
long balance = 0;
|
||||
long daily_balance=0;
|
||||
|
||||
TOTAL_DAYS_FOR_AVERAGE=0;
|
||||
|
||||
for (int counter = 0; counter < TOTAL_DAYS; counter++) {
|
||||
ActivityAmounts amounts = getActivityAmountsForDay(db, day, device);
|
||||
|
Loading…
Reference in New Issue
Block a user