Fix filter HTML to attributed string conversion optimization not being applied 🤦‍♂️

This commit is contained in:
Shadowfacts 2022-12-04 15:36:26 -05:00
parent 1da2b17a76
commit f1b1732e5c
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro
let (result, attributedString) = filterResult(state: filterState, statusID: id)
switch result {
case .allow, .warn(_):
return collectionView.dequeueConfiguredReusableCell(using: statusCell, for: indexPath, item: (id, state, result, nil))
return collectionView.dequeueConfiguredReusableCell(using: statusCell, for: indexPath, item: (id, state, result, attributedString))
case .hide:
return collectionView.dequeueConfiguredReusableCell(using: zeroHeightCell, for: indexPath, item: ())
}