Only show standard pages in most recent

This commit is contained in:
Christoph Hagen 2023-01-08 21:14:00 +01:00
parent 4ccb67d7ef
commit 10267e3765

View File

@ -382,8 +382,7 @@ extension Element {
}
let all = shownItems
.reduce(into: [Element]()) { $0 += $1.mostRecentElements(count) }
.filter { $0.thumbnailStyle == .large }
.filter { $0.date != nil }
.filter { $0.thumbnailStyle == .large && $0.state == .standard && $0.date != nil }
.sorted { $0.date! > $1.date! }
return Array(all.prefix(count))
}