Skip to content

Commit 44aae2c

Browse files
authored
Merge pull request #1115 from cph-cachet/health-12/1052-workouthealth
Health 12/1052 Register `WorkoutHealthValue`
2 parents 86a8fac + 87745f3 commit 44aae2c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/health/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* Fix [#950](https://github.com/cph-cachet/flutter-plugins/issues/950) - PR [#1103](https://github.com/cph-cachet/flutter-plugins/pull/1103)
1717
* Fix [#1047](https://github.com/cph-cachet/flutter-plugins/issues/1047) and [#939](https://github.com/cph-cachet/flutter-plugins/issues/939) - PR [#1091](https://github.com/cph-cachet/flutter-plugins/pull/1091)
1818
* Fix issue where `SLEEP_LIGHT` type was not aligned correctly - PR [#1086](https://github.com/cph-cachet/flutter-plugins/pull/1086)
19+
* Fix [#1051](https://github.com/cph-cachet/flutter-plugins/issues/1051) - PR [#1052](https://github.com/cph-cachet/flutter-plugins/pull/1052)
1920
* Updated `intl` to ^0.20.1 [#1092](https://github.com/cph-cachet/flutter-plugins/issues/1092)
2021
* Updated `device_info_plus` to ^11.2.0
2122
* Example app: Updated `permission_handler` to ^11.3.1

packages/health/lib/health.json.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ void _registerFromJsonFunctions() {
1010
FromJsonFactory().registerAll([
1111
HealthValue(),
1212
NumericHealthValue(numericValue: 12),
13+
WorkoutHealthValue(workoutActivityType: HealthWorkoutActivityType.RUNNING),
1314
AudiogramHealthValue(
1415
frequencies: [],
1516
leftEarSensitivities: [],

0 commit comments

Comments
 (0)