From 1ad556f9cf4309695a3931ded573abe20e288d7a Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 13 Jan 2023 15:27:48 -0500 Subject: [PATCH] Fix crash when displaying poll finished notification --- Tusker/Views/Notifications/PollFinishedTableViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tusker/Views/Notifications/PollFinishedTableViewCell.swift b/Tusker/Views/Notifications/PollFinishedTableViewCell.swift index e773549a..cc5747f9 100644 --- a/Tusker/Views/Notifications/PollFinishedTableViewCell.swift +++ b/Tusker/Views/Notifications/PollFinishedTableViewCell.swift @@ -55,6 +55,8 @@ class PollFinishedTableViewCell: UITableViewCell { let doc = try! SwiftSoup.parseBodyFragment(status.content) statusContentLabel.text = try! doc.text() + pollView.mastodonController = mastodonController + pollView.toastableViewController = delegate pollView.updateUI(status: status, poll: poll) }