Commit eca69b1b authored by Nicolas Fella's avatar Nicolas Fella

Show expected departure/arrival times in details view

parent 81a2df8a
......@@ -80,6 +80,12 @@ Kirigami.Page
text: modelData.scheduledDepartureTime.toLocaleTimeString(Locale.ShortFormat)
}
Label {
text: modelData.expectedDepartureTime.toLocaleTimeString(Locale.ShortFormat)
visible: modelData.departureDelay > 0
color: "red"
}
Label {
text: modelData.from.name
Layout.fillWidth: true
......@@ -96,6 +102,12 @@ Kirigami.Page
text: modelData.scheduledArrivalTime.toLocaleTimeString(Locale.ShortFormat)
}
Label {
text: modelData.expectedArrivalTime.toLocaleTimeString(Locale.ShortFormat)
visible: modelData.arrivalDelay > 0
color: "red"
}
Label {
text: modelData.to.name
Layout.fillWidth: true
......
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