Fix rendering of BasicListItems in SwipeListItems

This commit is contained in:
Tobias Fella 2020-09-19 18:16:04 +02:00
parent c320d90c13
commit c412e99e09
2 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,9 @@ import org.kde.alligator 1.0
Kirigami.SwipeListItem {
leftPadding: 0
rightPadding: 0
contentItem: Kirigami.BasicListItem {
anchors.top: parent.top
anchors.bottom: parent.bottom

View File

@ -14,6 +14,9 @@ import org.kde.alligator 1.0
Kirigami.SwipeListItem {
leftPadding: 0
rightPadding: 0
contentItem: Kirigami.BasicListItem {
anchors.top: parent.top
anchors.bottom: parent.bottom
@ -21,7 +24,6 @@ Kirigami.SwipeListItem {
icon: model.feed.refreshing ? "view-refresh" : model.feed.image === "" ? "rss" : Fetcher.image(model.feed.image)
subtitle: i18np("%1 unread entry", "%1 unread entries", model.feed.unreadEntryCount)
onClicked: {
lastFeed = model.feed.url
pageStack.push("qrc:/EntryListPage.qml", {"feed": model.feed})