change to isCompleted for simplicity
This commit is contained in:
parent
abbc73ddcf
commit
559fc0b589
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue