Commit ac419423 authored by Volker Krause's avatar Volker Krause

Show platform changes in train delegate too

Could still be nicer by using color highlighting for changes.
parent d6cf8b72
......@@ -53,6 +53,7 @@ App.TimelineDelegate {
QQC2.Label {
text: i18n("Departure from %1 on platform %2",
reservationFor.departureStation.name,
departure.hasExpectedPlatform ? departure.expectedPlatform :
reservationFor.departurePlatform ? reservationFor.departurePlatform : "-")
color: Kirigami.Theme.textColor
wrapMode: Text.WordWrap
......@@ -70,6 +71,7 @@ App.TimelineDelegate {
QQC2.Label {
text: i18n("Arrival at %1 on platform %2",
reservationFor.arrivalStation.name,
arrival.hasExpectedPlatform ? arrival.expectedPlatform :
reservationFor.arrivalPlatform ? reservationFor.arrivalPlatform : "-")
color: Kirigami.Theme.textColor
wrapMode: Text.WordWrap
......
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