Use shared NetNewsWire feed icon.

This commit is contained in:
Brent Simmons committed 2026-11-03 15:43:23 -08:00
1 parent a1958416ba
commit 7035083833
1 file changed
+5 -2
@@ -258,12 +258,15 @@ private extension TimelineCustomizerCollectionViewController {
}
private func previewCell(section: Section, indexPath: IndexPath) -> MainTimelineCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: MainTimelineCell.reuseIdentifier, for: indexPath) as! MainTimelineCell
guard let cell = collectionView.dequeueReusableCell(withReuseIdentifier: MainTimelineCell.reuseIdentifier, for: indexPath) as? MainTimelineCell else {
assertionFailure("Expected MainTimelineCell")
return MainTimelineCell()
}
cell.cellData = MainTimelineCellData(article: previewArticle,
showFeedName: .byline,
feedName: "The Fellowship of the Ring",
byline: "J. R. R. Tolkien",
iconImage: IconImage(Assets.Images.nnwFeedIcon),
iconImage: IconImage.nnwFeedIcon,
showIcon: section.showsFeedIcon,
numberOfLines: AppDefaults.timelineNumberOfLines,
iconSize: AppDefaults.timelineIconSize,