Tidepool: fix calibraton entry
This commit is contained in:
parent
de7fde3840
commit
b244d174fa
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class BloodGlucoseElement(therapyEvent: TherapyEvent, dateUtil: DateUtil)
|
||||||
var value: Int = 0
|
var value: Int = 0
|
||||||
|
|
||||||
init {
|
init {
|
||||||
type = "cbg"
|
type = "smbg"
|
||||||
subType = "manual" // TODO
|
subType = "manual" // TODO
|
||||||
value = if (therapyEvent.glucose != null)
|
value = if (therapyEvent.glucose != null)
|
||||||
Profile.toMgdl(therapyEvent.glucose!!, therapyEvent.glucoseUnit.toMainUnit()).toInt()
|
Profile.toMgdl(therapyEvent.glucose!!, therapyEvent.glucoseUnit.toMainUnit()).toInt()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue