Merge pull request #2280 from LoriLori/danaRSv2/bug/cancelTempBasal
cancelTempBasal does not set success flag to true
This commit is contained in:
commit
97330bcb42
1 changed files with 1 additions and 1 deletions
|
@ -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