Added TODO for updating active alerts in UI

This commit is contained in:
Bart Sopers 2019-12-01 01:21:02 +01:00
parent 932533ace7
commit ee6bdfe5f8

View file

@ -60,7 +60,10 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface
} }
public AapsOmnipodManager(OmnipodCommunicationService communicationService, PodSessionState podState, OmnipodPumpStatus pumpStatus) { 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; this.pumpStatus = pumpStatus;
instance = this; instance = this;
} }