remove test 'active command'

This commit is contained in:
Andrei Vereha 2021-06-22 22:43:14 +02:00
parent e7cc35a132
commit 44c7747405

View file

@ -308,15 +308,6 @@ class OmnipodDashOverviewFragment : DaggerFragment() {
}) })
*/ */
// TODO: Active command
if (podStateManager.activeCommand != null) {
podInfoBinding.podExpiryDate.setTextColor(Color.RED)
podInfoBinding.podExpiryDate.text = "Active command"
} else {
podInfoBinding.podExpiryDate.text = PLACEHOLDER
podInfoBinding.podExpiryDate.setTextColor(Color.WHITE)
}
// Update Pod expiry time // Update Pod expiry time
val expiresAt = getExpiryAt() val expiresAt = getExpiryAt()
if (expiresAt is Nothing) { if (expiresAt is Nothing) {