Commit 3a96febd authored by Volker Krause's avatar Volker Krause

Adapt to KPublicTransport changes

parent 3907a9a3
......@@ -115,9 +115,10 @@ Kirigami.ScrollablePage {
// optional bottom row: notes if present
QQC2.Label {
Layout.columnSpan: 2
text: departure.note
text: departure.notes.join("<br/>")
textFormat: Text.RichText
wrapMode: Text.Wrap
visible: departure.note
visible: departure.notes.length > 0
font.italic: true
}
}
......
......@@ -150,9 +150,10 @@ Kirigami.ScrollablePage {
// optional bottom row: notes
QQC2.Label {
Layout.columnSpan: 2
text: modelData.note
text: modelData.notes.join("<br/>")
textFormat: Text.RichText
wrapMode: Text.Wrap
visible: modelData.note
visible: modelData.notes.length > 0
font.italic: 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