From b909a633a6975c8b5192af8a51d0d9572078c5d3 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 14 May 2023 19:09:06 -0400 Subject: [PATCH] Fix monospace font not being set on profile statuses HTML converter --- Tusker/Screens/Profile/ProfileStatusesViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Screens/Profile/ProfileStatusesViewController.swift b/Tusker/Screens/Profile/ProfileStatusesViewController.swift index 8972dece..4ea79fef 100644 --- a/Tusker/Screens/Profile/ProfileStatusesViewController.swift +++ b/Tusker/Screens/Profile/ProfileStatusesViewController.swift @@ -41,6 +41,7 @@ class ProfileStatusesViewController: UIViewController, TimelineLikeCollectionVie self.mastodonController = owner.mastodonController self.filterer = Filterer(mastodonController: mastodonController, context: .account) self.filterer.htmlConverter.font = TimelineStatusCollectionViewCell.contentFont + self.filterer.htmlConverter.monospaceFont = TimelineStatusCollectionViewCell.monospaceFont self.filterer.htmlConverter.paragraphStyle = TimelineStatusCollectionViewCell.contentParagraphStyle super.init(nibName: nil, bundle: nil)