diff --git a/Tusker/Views/Status/StatusTableViewCell.swift b/Tusker/Views/Status/StatusTableViewCell.swift index a62f5372..b92b801a 100644 --- a/Tusker/Views/Status/StatusTableViewCell.swift +++ b/Tusker/Views/Status/StatusTableViewCell.swift @@ -42,7 +42,7 @@ class StatusTableViewCell: UITableViewCell { @IBOutlet weak var favoriteButton: UIButton! @IBOutlet weak var reblogButton: UIButton! @IBOutlet weak var moreButton: UIButton! - @IBOutlet weak var pinnedStackView: UIStackView! + @IBOutlet weak var pinImageView: UIImageView! var statusID: String! var accountID: String! @@ -154,7 +154,8 @@ class StatusTableViewCell: UITableViewCell { contentWarningLabel.isHidden = status.spoilerText.isEmpty let pinned = status.pinned ?? false - pinnedStackView.isHidden = !(pinned && showPinned) + pinImageView.isHidden = !(pinned && showPinned) + timestampLabel.isHidden = !pinImageView.isHidden } private func updateStatusState(status: Status) { diff --git a/Tusker/Views/Status/StatusTableViewCell.xib b/Tusker/Views/Status/StatusTableViewCell.xib index 032880d7..bc5e81cd 100644 --- a/Tusker/Views/Status/StatusTableViewCell.xib +++ b/Tusker/Views/Status/StatusTableViewCell.xib @@ -16,21 +16,6 @@ - +