Clarify comment about read/new status

This commit is contained in:
Bart De Vries 2021-04-11 16:48:43 +02:00
parent e722ec29ee
commit 33f380e387
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ Kirigami.SwipeListItem {
}
onClicked: {
// only mark pure rss feeds as read; podcasts should only be marked read once they have been listened to
// only mark pure rss feeds as read + not new;
// podcasts should only be marked read once they have been listened to, and only
// marked as non-new once they've been downloaded
if (!entry.enclosure) { entry.read = true; entry.new = false;}
pageStack.push("qrc:/EntryPage.qml", {"entry": entry})
}