diff --git a/Tusker/Views/Status/TimelineStatusTableViewCell.swift b/Tusker/Views/Status/TimelineStatusTableViewCell.swift index 359b2ab313..6e27058dc3 100644 --- a/Tusker/Views/Status/TimelineStatusTableViewCell.swift +++ b/Tusker/Views/Status/TimelineStatusTableViewCell.swift @@ -84,11 +84,9 @@ class TimelineStatusTableViewCell: BaseStatusTableViewCell { updateTimestamp() - if showPinned { - let pinned = status.pinned ?? false - timestampLabel.isHidden = pinned - pinImageView.isHidden = !pinned - } + let pinned = showPinned && (status.pinned ?? false) + timestampLabel.isHidden = pinned + pinImageView.isHidden = !pinned } @objc override func preferencesChanged() {