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

Show distance/travel time for rental vehicle sections as well

parent 6547d469
Pipeline #84261 passed with stage
in 1 minute and 17 seconds
......@@ -242,7 +242,7 @@ Kirigami.ApplicationWindow {
case JourneySection.Waiting:
return "Wait " + displayDuration(modelData.duration)
case JourneySection.RentedVehicle:
return modelData.rentalVehicle.network.name;
return "Drive (" + modelData.rentalVehicle.network.name + ") " + displayDuration(modelData.duration) + " / " + displayDistance(modelData.distance);
return "???";
}}
}
......@@ -399,7 +399,7 @@ Kirigami.ApplicationWindow {
QQC2.CheckBox {
id: rentalMode
checked: true
text: "Retal Vehicles"
text: "Rental Vehicles"
}
}
RowLayout {
......
Supports Markdown
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