Simplify code.

This commit is contained in:
Brent Simmons
2025-02-02 16:47:35 -08:00
parent 4b9ab41a8a
commit 08c0de1a8e

View File

@@ -794,10 +794,7 @@ private extension TimelineViewController {
}
func iconImageFor(_ article: Article) -> IconImage? {
if !coordinator.showIcons {
return nil
}
return article.iconImage()
coordinator.showIcons ? article.iconImage() : nil
}
func toggleArticleReadStatusAction(_ article: Article) -> UIAction? {