Implemented all 9 UI fixes across health charts and activity detail pages. Changes are ready to push to git for the Docker build to pick them up.
This commit is contained in:
@@ -469,6 +469,9 @@ def _parse_day(stats, sleep_data, hrv_data) -> dict:
|
||||
_set(row, "active_calories", active)
|
||||
if active and bmr:
|
||||
_set(row, "total_calories", float(active) + float(bmr))
|
||||
vo2 = stats.get("vo2MaxPreciseValue") or stats.get("vo2Max")
|
||||
if vo2 and float(vo2) > 0:
|
||||
_set(row, "vo2max", float(vo2))
|
||||
|
||||
if sleep_data:
|
||||
dto = sleep_data.get("dailySleepDTO") or sleep_data
|
||||
|
||||
Reference in New Issue
Block a user