diff --git a/Tusker/Views/Status/BaseStatusTableViewCell.swift b/Tusker/Views/Status/BaseStatusTableViewCell.swift index e9e9cf38..7816e5c8 100644 --- a/Tusker/Views/Status/BaseStatusTableViewCell.swift +++ b/Tusker/Views/Status/BaseStatusTableViewCell.swift @@ -126,11 +126,12 @@ class BaseStatusTableViewCell: UITableViewCell { contentLabel.statusID = statusID + contentWarningLabel.text = status.spoilerText + contentWarningLabel.isHidden = status.spoilerText.isEmpty + if state.unknown { collapsible = !status.spoilerText.isEmpty var shouldCollapse = collapsible - contentWarningLabel.text = status.spoilerText - contentWarningLabel.isHidden = status.spoilerText.isEmpty if !shouldCollapse, let text = contentLabel.text, text.count > 500 {