diff --git a/WordPress/Classes/ViewRelated/Stats/Shared Views/Post Stats/PostStatsTitleCell.swift b/WordPress/Classes/ViewRelated/Stats/Shared Views/Post Stats/PostStatsTitleCell.swift index 3486036f6b0a..e2d5cb6a793b 100644 --- a/WordPress/Classes/ViewRelated/Stats/Shared Views/Post Stats/PostStatsTitleCell.swift +++ b/WordPress/Classes/ViewRelated/Stats/Shared Views/Post Stats/PostStatsTitleCell.swift @@ -9,15 +9,14 @@ class PostStatsTitleCell: UITableViewCell, NibLoadable { @IBOutlet weak var bottomSeparatorLine: UIView! private typealias Style = WPStyleGuide.Stats - private var postTitle: String? private var postURL: URL? private weak var postStatsDelegate: PostStatsDelegate? // MARK: - Configure func configure(postTitle: String, postURL: URL?, postStatsDelegate: PostStatsDelegate? = nil) { - self.postTitle = postTitle self.postURL = postURL + postTitleLabel.text = postTitle self.postStatsDelegate = postStatsDelegate applyStyles() } @@ -31,12 +30,6 @@ private extension PostStatsTitleCell { Style.configureLabelAsPostStatsTitle(titleLabel) Style.configureLabelAsPostTitle(postTitleLabel) Style.configureViewAsSeparator(bottomSeparatorLine) - - guard let postTitle = postTitle else { - return - } - - postTitleLabel.attributedText = Style.highlightString(postTitle, inString: postTitle) } @IBAction func didTapPostTitle(_ sender: UIButton) {