More work on the ErrorListPage delegate

This commit is contained in:
Bart De Vries 2021-04-25 09:54:15 +02:00
parent 5a0972372b
commit 3653aa4687
1 changed files with 8 additions and 2 deletions

View File

@ -26,8 +26,14 @@ Kirigami.ScrollablePage {
}
Component {
id: errorListDelegate
Controls.Label {
text: error.string + error.date + error.string
Kirigami.SwipeListItem {
contentItem: Kirigami.BasicListItem {
anchors.top: parent.top
anchors.bottom: parent.bottom
text: error.id ? DataManager.getEntry(error.id).title : DataManager.getFeed(error.url).title
icon: "data-error"
subtitle: error.string
}
}
}