Avoid doing unnecessary work for filtered statuses
This commit is contained in:
parent
32be76ebee
commit
975be17d13
|
@ -529,6 +529,7 @@ class TimelineStatusCollectionViewCell: UICollectionViewListCell, StatusCollecti
|
||||||
attrStr.append(showStr)
|
attrStr.append(showStr)
|
||||||
filteredLabel.attributedText = attrStr
|
filteredLabel.attributedText = attrStr
|
||||||
setContentViewMode(.filtered)
|
setContentViewMode(.filtered)
|
||||||
|
return
|
||||||
case .hide:
|
case .hide:
|
||||||
fatalError("unreachable")
|
fatalError("unreachable")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue