From f1b1732e5c274f912784c065003ad3a681d85e3e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 4 Dec 2022 15:36:26 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20filter=20HTML=20to=20attributed=20string?= =?UTF-8?q?=20conversion=20optimization=20not=20being=20applied=20?= =?UTF-8?q?=F0=9F=A4=A6=E2=80=8D=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tusker/Screens/Timeline/TimelineViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Timeline/TimelineViewController.swift b/Tusker/Screens/Timeline/TimelineViewController.swift index 4569b625..57ebd37c 100644 --- a/Tusker/Screens/Timeline/TimelineViewController.swift +++ b/Tusker/Screens/Timeline/TimelineViewController.swift @@ -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: ()) }