change to isCompleted for simplicity

This commit is contained in:
Dave Carlson 2022-08-03 16:50:12 -07:00
parent abbc73ddcf
commit 559fc0b589

View file

@ -294,7 +294,7 @@ public class AapsOmnipodErosManager {
// #1963 return synthetic success if pre-activation // #1963 return synthetic success if pre-activation
// to allow profile switch prior to pod activation // to allow profile switch prior to pod activation
// otherwise a catch-22 // otherwise a catch-22
if (podStateManager.getActivationProgress().isBefore(ActivationProgress.BASAL_INITIALIZED)) { if (!podStateManager.getActivationProgress().isCompleted()) {
// TODO: i18n string // TODO: i18n string
return new PumpEnactResult(injector).success(true).enacted(false).comment("pre" + return new PumpEnactResult(injector).success(true).enacted(false).comment("pre" +
"-activation basal change moot"); "-activation basal change moot");