mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Restore changes reverted in previous beta.
This commit is contained in:
@@ -44,12 +44,12 @@ extension Array where Element == Article {
|
||||
return nil
|
||||
}
|
||||
|
||||
func articlesForIndexes(_ indexes: IndexSet) -> Set<Article> {
|
||||
return Set(indexes.compactMap{ (oneIndex) -> Article? in
|
||||
func articlesForIndexes(_ indexes: IndexSet) -> [Article] {
|
||||
return indexes.compactMap{ (oneIndex) -> Article? in
|
||||
return articleAtRow(oneIndex)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func sortedByDate(_ sortDirection: ComparisonResult, groupByFeed: Bool = false) -> ArticleArray {
|
||||
return ArticleSorter.sortedByDate(articles: self, sortDirection: sortDirection, groupByFeed: groupByFeed)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user