do not display last connection if the pod is not activated
This commit is contained in:
parent
4e4cc4cdfa
commit
80c24a23dc
1 changed files with 1 additions and 3 deletions
|
@ -386,9 +386,7 @@ class OmnipodDashOverviewFragment : DaggerFragment() {
|
||||||
podInfoBinding.lastConnection.setTextColor(lastConnectionColor)
|
podInfoBinding.lastConnection.setTextColor(lastConnectionColor)
|
||||||
} else {
|
} else {
|
||||||
podInfoBinding.lastConnection.setTextColor(Color.WHITE)
|
podInfoBinding.lastConnection.setTextColor(Color.WHITE)
|
||||||
podInfoBinding.lastConnection.text = readableDuration(
|
podInfoBinding.lastConnection.text = PLACEHOLDER
|
||||||
Duration(podStateManager.lastUpdatedSystem, System.currentTimeMillis())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue