mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
🔥 Remove comments
This commit is contained in:
1 file changed
-2
@@ -217,7 +217,6 @@ class MainTimelineCollectionViewCell: UICollectionViewCell {
|
||||
}
|
||||
|
||||
func adjustArticleContentColor() {
|
||||
// Helper to recolor the title range to .label while preserving other attributes
|
||||
func applyTitleColour() {
|
||||
guard let titleRange = rangeOfTitle, titleRange.location != NSNotFound, titleRange.length > 0 else { return }
|
||||
guard let current = articleContent.attributedText else { return }
|
||||
@@ -232,7 +231,6 @@ class MainTimelineCollectionViewCell: UICollectionViewCell {
|
||||
mutable.addAttribute(.foregroundColor, value: cellData.title == "" ? UIColor.label : UIColor.secondaryLabel, range: summaryRange)
|
||||
articleContent.attributedText = mutable
|
||||
}
|
||||
|
||||
|
||||
if configurationState.isSwiped && configurationState.isSelected {
|
||||
articleContent.textColor = .white
|
||||
|
||||
Reference in new issue
Block a user