cancelTempBasal does not set success flag to true
This commit is contained in:
parent
d7a8323bc8
commit
1d1c47db1b
|
@ -345,7 +345,7 @@ public class DanaRv2Plugin extends AbstractDanaRPlugin {
|
||||||
PumpEnactResult result = new PumpEnactResult(getInjector());
|
PumpEnactResult result = new PumpEnactResult(getInjector());
|
||||||
if (danaPump.isTempBasalInProgress()) {
|
if (danaPump.isTempBasalInProgress()) {
|
||||||
sExecutionService.tempBasalStop();
|
sExecutionService.tempBasalStop();
|
||||||
result.enacted(true).isTempCancel(true);
|
result.success(true).enacted(true).isTempCancel(true);
|
||||||
} else {
|
} else {
|
||||||
result.success(true).isTempCancel(true).comment(info.nightscout.core.ui.R.string.ok);
|
result.success(true).isTempCancel(true).comment(info.nightscout.core.ui.R.string.ok);
|
||||||
aapsLogger.debug(LTag.PUMP, "cancelRealTempBasal: OK");
|
aapsLogger.debug(LTag.PUMP, "cancelRealTempBasal: OK");
|
||||||
|
|
Loading…
Reference in a new issue