Added TODO for updating active alerts in UI
This commit is contained in:
parent
932533ace7
commit
ee6bdfe5f8
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue