Commit f3da4d58 authored by Volker Krause's avatar Volker Krause
Browse files

Improve display of intermediate stops that are actually POIs

SBB generates those for things like major tunnels, without clearly marking
those as POIs.
parent 23a072e7
......@@ -69,6 +69,7 @@ Item {
}
color: Kirigami.Theme.backgroundColor
anchors.centerIn: parent
visible: !isIntermediate || stop.disruptionEffect != Disruption.NoService
}
}
......@@ -100,6 +101,7 @@ Item {
Layout.fillHeight: true
text: stop.stopPoint.name
verticalAlignment: Qt.AlignVCenter
enabled: stop.disruptionEffect != Disruption.NoService
}
QQC2.Label {
......@@ -118,7 +120,7 @@ Item {
Layout.alignment: isSingleTime ? Qt.AlignVCenter : Qt.AlignTop
text: (stop.departureDelay >= 0 ? "+" : "") + stop.departureDelay
color: stop.departureDelay > 1 ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.positiveTextColor
visible: stop.hasExpectedDepartureTime
visible: departureTime.visible && stop.hasExpectedDepartureTime
}
App.VehicleLoadIndicator {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment