format
This commit is contained in:
parent
e51d071181
commit
6ee4ec1ae3
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue