Fix crash when displaying poll finished notification

This commit is contained in:
Shadowfacts 2023-01-13 15:27:48 -05:00
parent 019f7d6d6a
commit 1ad556f9cf
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}