Added TODO for updating active alerts in UI
This commit is contained in:
parent
932533ace7
commit
ee6bdfe5f8
|
@ -60,7 +60,10 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface
|
|||
}
|
||||
|
||||
public AapsOmnipodManager(OmnipodCommunicationService communicationService, PodSessionState podState, OmnipodPumpStatus pumpStatus) {
|
||||
delegate = new OmnipodManager(communicationService, podState, OmnipodUtil::setPodSessionState);
|
||||
delegate = new OmnipodManager(communicationService, podState, podSessionState -> {
|
||||
OmnipodUtil.setPodSessionState(podSessionState);
|
||||
// TODO update active alerts (and other stuff(?)) in UI
|
||||
});
|
||||
this.pumpStatus = pumpStatus;
|
||||
instance = this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue