Skip to content

Commit 3eb3a5f

Browse files
Merge pull request #5271 from simpledotorg/master
2 parents a4c0338 + 5a41eee commit 3eb3a5f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
- Bump AndroidX Annotation to v1.9.1
2020
- Upload generated mapping file to Sentry
2121
- Bump ConstraintLayout to v2.2.0
22-
- Bump AGP to v8.8.0
2322
- Add `isSmoking` in `MedicalHistory` table
2423
- Add `PatientAttribute` sync resource
2524
- Add `CVDRisk` sync resource
@@ -63,6 +62,8 @@
6362
- Bug fixes in CI workflows
6463
- Fetch `lab_based_cvd_risk_calculation_sheet` from remote config
6564
- Add `cholesterol_value` to `MedicalHistory` table
65+
- Bump AGP to v8.8.1
66+
- Fix JSON variable name in non-lab based statin calculation sheet
6667

6768
### Fixes
6869

app/src/main/java/org/simple/clinic/cvdrisk/CVDRiskCalculationSheet.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ sealed interface CVDRiskCalculationSheet
3333
@JsonClass(generateAdapter = true)
3434
data class Women<T: RiskEntry>(
3535
override val smoking: AgeData<T>,
36+
@Json(name = "nonsmoking")
3637
override val nonSmoking: AgeData<T>
3738
): SmokingData<T>
3839

3940
@JsonClass(generateAdapter = true)
4041
data class Men<T: RiskEntry>(
4142
override val smoking: AgeData<T>,
43+
@Json(name = "nonsmoking")
4244
override val nonSmoking: AgeData<T>
4345
): SmokingData<T>
4446

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.8.0"
2+
agp = "8.8.1"
33

44
androidx-cameraView = "1.4.1"
55
androidx-camera = "1.4.1"

0 commit comments

Comments
 (0)