From 3e4f94328a5b08b00545ec5be479c136d8cdfe04 Mon Sep 17 00:00:00 2001 From: Xiaohui Liu Date: Tue, 15 Aug 2023 11:12:13 +0800 Subject: [PATCH] Timeline: distinguish between read and unread title font colors in the Timeline. refer to: https://github.com/Ranchero-Software/NetNewsWire/issues/4073 Signed-off-by: Xiaohui Liu --- Mac/MainWindow/Timeline/Cell/TimelineTableCellView.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Mac/MainWindow/Timeline/Cell/TimelineTableCellView.swift b/Mac/MainWindow/Timeline/Cell/TimelineTableCellView.swift index 24a88abc0..2bac78250 100644 --- a/Mac/MainWindow/Timeline/Cell/TimelineTableCellView.swift +++ b/Mac/MainWindow/Timeline/Cell/TimelineTableCellView.swift @@ -238,6 +238,12 @@ private extension TimelineTableCellView { textField.attributedStringValue = s needsLayout = true } + + if cellData.read { + textField.textColor = NSColor.secondaryLabelColor + } else { + textField.textColor = NSColor.labelColor + } } func updateFeedNameView() {