Merge pull request #2550 from yp1ripe/fix-medtronic-history-zero-temps-with-cancels
Skipped creation of "dummy cancel temp basal" records for temp basals which are already paired with real cancels
This commit is contained in:
commit
719192e170
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ class MedtronicHistoryData @Inject constructor(
|
|||
|
||||
previousItem = null
|
||||
}
|
||||
if (tempBasalProcessDTO.itemOneTbr!!.isZeroTBR) {
|
||||
if (tempBasalProcessDTO.itemOneTbr!!.isZeroTBR && tempBasalProcessDTO.itemTwo == null ) {
|
||||
previousItem = tempBasalProcessDTO
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue