mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Fix average calculation when scrolling between days
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user