This commit is contained in:
Andrei Vereha 2021-06-22 22:36:35 +02:00
parent e51d071181
commit 6ee4ec1ae3

View file

@ -203,7 +203,8 @@ class OmnipodDashPumpPlugin @Inject constructor(
if (podStateManager.activeCommand == null) { if (podStateManager.activeCommand == null) {
// suspend delivery is confirmed // suspend delivery is confirmed
deliverySuspended = true deliverySuspended = true
} }, }
},
historyEntry = history.createRecord(commandType = OmnipodCommandType.SET_BASAL_PROFILE), historyEntry = history.createRecord(commandType = OmnipodCommandType.SET_BASAL_PROFILE),
activeCommandEntry = { historyId -> activeCommandEntry = { historyId ->
podStateManager.createActiveCommand(historyId, basalProgram = basalProgram) podStateManager.createActiveCommand(historyId, basalProgram = basalProgram)
@ -389,7 +390,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
if (detailedBolusInfo.bolusType == DetailedBolusInfo.BolusType.SMB) { if (detailedBolusInfo.bolusType == DetailedBolusInfo.BolusType.SMB) {
notifyOnUnconfirmed( notifyOnUnconfirmed(
Notification.OMNIPOD_UNCERTAIN_SMB, Notification.OMNIPOD_UNCERTAIN_SMB,
"Unable to verify whether SMB bolus (${requestedBolusAmount} U) succeeded. " + "Unable to verify whether SMB bolus ($requestedBolusAmount U) succeeded. " +
"<b>Refresh pod status to confirm or deny this command.", "<b>Refresh pod status to confirm or deny this command.",
R.raw.boluserror R.raw.boluserror
) )