mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +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 balance = 0;
|
||||||
long daily_balance=0;
|
long daily_balance=0;
|
||||||
|
TOTAL_DAYS_FOR_AVERAGE=0;
|
||||||
|
|
||||||
for (int counter = 0; counter < TOTAL_DAYS; counter++) {
|
for (int counter = 0; counter < TOTAL_DAYS; counter++) {
|
||||||
ActivityAmounts amounts = getActivityAmountsForDay(db, day, device);
|
ActivityAmounts amounts = getActivityAmountsForDay(db, day, device);
|
||||||
|
Loading…
Reference in New Issue
Block a user