Only show standard pages in most recent
This commit is contained in:
parent
4ccb67d7ef
commit
10267e3765
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user