Fix NPE
This commit is contained in:
parent
728b666834
commit
e774ad94a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue