Merge branch 'omnipod_eros_Dev' into omnipod_eros_dev_upstream_merge
This commit is contained in:
commit
5638374f00
|
@ -71,6 +71,7 @@ class StatusLightHandler @Inject constructor(
|
|||
warnColors.setColorInverse(view, level, resWarn, resUrgent)
|
||||
}
|
||||
|
||||
// Omnipod only reports reservoir level when it's 50 units or less, so we display "50+U" for any value > 50
|
||||
private fun handleOmnipodReservoirLevel(view: TextView?, criticalSetting: Int, criticalDefaultValue: Double, warnSetting: Int, warnDefaultValue: Double, level: Double, units: String) {
|
||||
val resUrgent = sp.getDouble(criticalSetting, criticalDefaultValue)
|
||||
val resWarn = sp.getDouble(warnSetting, warnDefaultValue)
|
||||
|
|
Loading…
Reference in a new issue