do not check for active commands when canceling

This commit is contained in:
Andrei Vereha 2021-06-19 23:58:44 +02:00
parent d4f7caf119
commit 422ea31f6f

View file

@ -460,7 +460,8 @@ class OmnipodDashPumpPlugin @Inject constructor(
val bolusBeeps = sp.getBoolean(R.string.key_omnipod_common_bolus_beeps_enabled, false)
return executeProgrammingCommand(
historyEntry = history.createRecord(commandType = OmnipodCommandType.CANCEL_BOLUS),
command = omnipodManager.stopBolus(bolusBeeps).ignoreElements()
command = omnipodManager.stopBolus(bolusBeeps).ignoreElements(),
checkNoActiveCommand = false,
)
}