From 3653aa4687692abae1aaf335e4c274092203c579 Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Sun, 25 Apr 2021 09:54:15 +0200 Subject: [PATCH] More work on the ErrorListPage delegate --- src/qml/ErrorListPage.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/qml/ErrorListPage.qml b/src/qml/ErrorListPage.qml index c4063a50..fbfe0021 100644 --- a/src/qml/ErrorListPage.qml +++ b/src/qml/ErrorListPage.qml @@ -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 + } } }