From 21f41247475a44b69f212c432b36c30d82e8a89d Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 16 Mar 2021 11:48:33 +0800 Subject: [PATCH] fix: header icon missing issue --- Mastodon/Diffiable/Section/StatusSection.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mastodon/Diffiable/Section/StatusSection.swift b/Mastodon/Diffiable/Section/StatusSection.swift index 744e873c..f6d0b027 100644 --- a/Mastodon/Diffiable/Section/StatusSection.swift +++ b/Mastodon/Diffiable/Section/StatusSection.swift @@ -311,7 +311,7 @@ extension StatusSection { ) { if toot.reblog != nil { cell.statusView.headerContainerStackView.isHidden = false - cell.statusView.headerInfoLabel.attributedText = StatusView.iconAttributedString(image: StatusView.boostIconImage) + cell.statusView.headerIconLabel.attributedText = StatusView.iconAttributedString(image: StatusView.boostIconImage) cell.statusView.headerInfoLabel.text = { let author = toot.author let name = author.displayName.isEmpty ? author.username : author.displayName @@ -319,7 +319,7 @@ extension StatusSection { }() } else if let replyTo = toot.replyTo { cell.statusView.headerContainerStackView.isHidden = false - cell.statusView.headerInfoLabel.attributedText = StatusView.iconAttributedString(image: StatusView.replyIconImage) + cell.statusView.headerIconLabel.attributedText = StatusView.iconAttributedString(image: StatusView.replyIconImage) cell.statusView.headerInfoLabel.text = { let author = replyTo.author let name = author.displayName.isEmpty ? author.username : author.displayName