Commit 1dd32d24 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Fix empty day delegate

parent 28616aaf
......@@ -122,16 +122,12 @@ Kirigami.ScrollablePage {
}
Models.DelegateChoice {
roleValue: TimelineElement.TodayMarker
Item {
implicitHeight: visible ? label.implicitHeight : 0
QQC2.Label {
height: visible ? implicitHeight : 0
visible: model.isTodayEmpty
QQC2.Label {
id: label
anchors.fill: parent
text: i18n("Nothing on the itinerary for today.");
color: Kirigami.Theme.textColor
horizontalAlignment: Qt.AlignHCenter
}
text: i18n("Nothing on the itinerary for today.");
color: Kirigami.Theme.textColor
horizontalAlignment: Qt.AlignHCenter
}
}
Models.DelegateChoice {
......
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