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
|
||||
|
||||
init {
|
||||
type = "cbg"
|
||||
type = "smbg"
|
||||
subType = "manual" // TODO
|
||||
value = if (therapyEvent.glucose != null)
|
||||
Profile.toMgdl(therapyEvent.glucose!!, therapyEvent.glucoseUnit.toMainUnit()).toInt()
|
||||
|
|
Loading…
Reference in a new issue