From 975be17d13070dbe1dec1927d6fd280080a5c011 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 20 Dec 2022 11:32:20 -0500 Subject: [PATCH] Avoid doing unnecessary work for filtered statuses --- Tusker/Views/Status/TimelineStatusCollectionViewCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Views/Status/TimelineStatusCollectionViewCell.swift b/Tusker/Views/Status/TimelineStatusCollectionViewCell.swift index 462918f471..604c379c87 100644 --- a/Tusker/Views/Status/TimelineStatusCollectionViewCell.swift +++ b/Tusker/Views/Status/TimelineStatusCollectionViewCell.swift @@ -529,6 +529,7 @@ class TimelineStatusCollectionViewCell: UICollectionViewListCell, StatusCollecti attrStr.append(showStr) filteredLabel.attributedText = attrStr setContentViewMode(.filtered) + return case .hide: fatalError("unreachable") }