forked from shadowfacts/Tusker
Fix filter HTML to attributed string conversion optimization not being applied 🤦♂️
This commit is contained in:
parent
1da2b17a76
commit
f1b1732e5c
|
@ -153,7 +153,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro
|
||||||
let (result, attributedString) = filterResult(state: filterState, statusID: id)
|
let (result, attributedString) = filterResult(state: filterState, statusID: id)
|
||||||
switch result {
|
switch result {
|
||||||
case .allow, .warn(_):
|
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:
|
case .hide:
|
||||||
return collectionView.dequeueConfiguredReusableCell(using: zeroHeightCell, for: indexPath, item: ())
|
return collectionView.dequeueConfiguredReusableCell(using: zeroHeightCell, for: indexPath, item: ())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue