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