Update active alerts from default status response in Pod state
This commit is contained in:
parent
bf060da878
commit
8e7e2450ae
|
@ -154,8 +154,7 @@ class OmnipodDashPodStateManagerImpl @Inject constructor(
|
||||||
podState.pulsesRemaining = response.reservoirPulsesRemaining
|
podState.pulsesRemaining = response.reservoirPulsesRemaining
|
||||||
podState.sequenceNumberOfLastProgrammingCommand = response.sequenceNumberOfLastProgrammingCommand
|
podState.sequenceNumberOfLastProgrammingCommand = response.sequenceNumberOfLastProgrammingCommand
|
||||||
podState.minutesSinceActivation = response.minutesSinceActivation
|
podState.minutesSinceActivation = response.minutesSinceActivation
|
||||||
|
podState.activeAlerts = response.activeAlerts
|
||||||
// TODO active alerts
|
|
||||||
|
|
||||||
podState.lastUpdated = System.currentTimeMillis()
|
podState.lastUpdated = System.currentTimeMillis()
|
||||||
store()
|
store()
|
||||||
|
|
Loading…
Reference in a new issue