Author: Adam Evyčędo <git@apiote.xyz>
show departed when arrival time == departure time
.gitignore | 1 app/src/main/java/xyz/apiote/bimba/czwek/departures/Departures.kt | 2
diff --git a/.gitignore b/.gitignore index 73d061c3eff9885fd9b5f102f37943513d0b118f..51ff5c25c1cacc26bc5d708f8334716cf8fb77a3 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ converter/local/*.db converter/local/metadata.yml converter/local/__pycache__ converter/local/config.py +.kotlin diff --git a/app/src/main/java/xyz/apiote/bimba/czwek/departures/Departures.kt b/app/src/main/java/xyz/apiote/bimba/czwek/departures/Departures.kt index 4940f08af9d4ad035a6363e1565b3c5d890fdafc..01f592aa9c53a29de8ef478f6d1ff9f504d97335 100644 --- a/app/src/main/java/xyz/apiote/bimba/czwek/departures/Departures.kt +++ b/app/src/main/java/xyz/apiote/bimba/czwek/departures/Departures.kt @@ -126,7 +126,7 @@ } else { holder?.arrivalStatus?.visibility = View.INVISIBLE } holder?.arrivalTime?.apply{ - text = statusTexts.first + text = statusTexts.second visibility = View.VISIBLE } holder?.departureStatus?.visibility = View.GONE