🩹 Remove setNeedsLayout

This commit is contained in:
Stuart Breckenridge committed 2025-07-26 18:41:27 +08:00
1 parent 3251861e3d
commit 0be7ecbde6
2 files changed
-5

No files matched your search

@@ -83,7 +83,6 @@ class MainTimelineFeedCell: UITableViewCell {
self.indicatorView.iconImage = nil
}
}
setNeedsLayout()
}
private func applyTitleTextWithAttributes(_ state: UICellConfigurationState) {
@@ -107,7 +106,6 @@ class MainTimelineFeedCell: UITableViewCell {
attributedCellText.append(summaryAttributed)
}
articleTitle.attributedText = attributedCellText
setNeedsLayout()
}
override func updateConfiguration(using state: UICellConfigurationState) {
@@ -132,8 +130,6 @@ class MainTimelineFeedCell: UITableViewCell {
}
self.backgroundConfiguration = backgroundConfig
setNeedsLayout()
}
@@ -82,7 +82,6 @@ class MainTimelineIconFeedCell: UITableViewCell {
])
setNeedsLayout()
layoutIfNeeded()
}
private func updateIndicatorView(_ cellData: MainTimelineCellData) {