Skipped creation of "dummy cancel temp basal" records for temp basals which are already paired with real cancels
This commit is contained in:
parent
7faa34aa50
commit
a76d2f97e2
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ class MedtronicHistoryData @Inject constructor(
|
||||||
|
|
||||||
previousItem = null
|
previousItem = null
|
||||||
}
|
}
|
||||||
if (tempBasalProcessDTO.itemOneTbr!!.isZeroTBR) {
|
if (tempBasalProcessDTO.itemOneTbr!!.isZeroTBR && tempBasalProcessDTO.itemTwo == null ) {
|
||||||
previousItem = tempBasalProcessDTO
|
previousItem = tempBasalProcessDTO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue