fix: eros time color
This commit is contained in:
parent
b025fea343
commit
d78f685f1f
|
@ -287,9 +287,9 @@ class OmnipodErosOverviewFragment : DaggerFragment() {
|
||||||
podInfoBinding.timeOnPod.setTextColor(
|
podInfoBinding.timeOnPod.setTextColor(
|
||||||
rh.gac(context,
|
rh.gac(context,
|
||||||
if (podStateManager.timeDeviatesMoreThan(OmnipodConstants.TIME_DEVIATION_THRESHOLD)) {
|
if (podStateManager.timeDeviatesMoreThan(OmnipodConstants.TIME_DEVIATION_THRESHOLD)) {
|
||||||
R.attr.defaultTextColor
|
|
||||||
} else {
|
|
||||||
R.attr.warningColor
|
R.attr.warningColor
|
||||||
|
} else {
|
||||||
|
R.attr.defaultTextColor
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
val expiresAt = podStateManager.expiresAt
|
val expiresAt = podStateManager.expiresAt
|
||||||
|
|
Loading…
Reference in a new issue