add comment

This commit is contained in:
Andrei Vereha 2021-06-03 22:00:42 +02:00
parent c8fee31ae8
commit 34103931f5

View file

@ -395,6 +395,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
OmnipodCommandType.SET_TEMPORARY_BASAL -> OmnipodCommandType.SET_TEMPORARY_BASAL ->
// This treatment was synced before sending the command // This treatment was synced before sending the command
if (!confirmation.success) { if (!confirmation.success) {
// TODO: the ID here is the temp basal id, not the pumpId!!
pumpSync.invalidateTemporaryBasal(historyEntry.pumpId()) pumpSync.invalidateTemporaryBasal(historyEntry.pumpId())
} }