do not check for active commands when canceling
This commit is contained in:
parent
d4f7caf119
commit
422ea31f6f
1 changed files with 2 additions and 1 deletions
|
@ -460,7 +460,8 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
val bolusBeeps = sp.getBoolean(R.string.key_omnipod_common_bolus_beeps_enabled, false)
|
val bolusBeeps = sp.getBoolean(R.string.key_omnipod_common_bolus_beeps_enabled, false)
|
||||||
return executeProgrammingCommand(
|
return executeProgrammingCommand(
|
||||||
historyEntry = history.createRecord(commandType = OmnipodCommandType.CANCEL_BOLUS),
|
historyEntry = history.createRecord(commandType = OmnipodCommandType.CANCEL_BOLUS),
|
||||||
command = omnipodManager.stopBolus(bolusBeeps).ignoreElements()
|
command = omnipodManager.stopBolus(bolusBeeps).ignoreElements(),
|
||||||
|
checkNoActiveCommand = false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue