Merge branch 'avereha/bolus' into avereha/notifications

This commit is contained in:
Andrei Vereha 2021-06-22 22:36:52 +02:00
commit ab9a59591d

View file

@ -514,7 +514,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,
) )
} }