fix loop plugin TBR cancel
This commit is contained in:
parent
4fb1704912
commit
36030683be
1 changed files with 1 additions and 2 deletions
|
@ -534,8 +534,7 @@ class LoopPlugin @Inject constructor(
|
||||||
callback?.result(PumpEnactResult(injector).absolute(request.rate).duration(0)
|
callback?.result(PumpEnactResult(injector).absolute(request.rate).duration(0)
|
||||||
.enacted(false).success(true).comment(R.string.basal_set_correctly))?.run()
|
.enacted(false).success(true).comment(R.string.basal_set_correctly))?.run()
|
||||||
}
|
}
|
||||||
}
|
} else if (request.usePercent && allowPercentage()) {
|
||||||
if (request.usePercent && allowPercentage()) {
|
|
||||||
if (request.percent == 100 && request.duration == 0) {
|
if (request.percent == 100 && request.duration == 0) {
|
||||||
if (activeTemp != null) {
|
if (activeTemp != null) {
|
||||||
aapsLogger.debug(LTag.APS, "applyAPSRequest: cancelTempBasal()")
|
aapsLogger.debug(LTag.APS, "applyAPSRequest: cancelTempBasal()")
|
||||||
|
|
Loading…
Reference in a new issue