This commit is contained in:
Bart Sopers 2020-11-13 16:32:17 +01:00
parent 728b666834
commit e774ad94a5

View file

@ -525,7 +525,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface,
// When we activate a new Pod, we just use ProfileFunction to set the currently active profile // When we activate a new Pod, we just use ProfileFunction to set the currently active profile
return true; return true;
} }
return podStateManager.getBasalSchedule().equals(AapsOmnipodManager.mapProfileToBasalSchedule(profile)); return Objects.equals(podStateManager.getBasalSchedule(), AapsOmnipodManager.mapProfileToBasalSchedule(profile));
} }
@Override @Override