Fix bug where marking selected row as read would draw the unread indicator in blue (which made it blue on blue) instead of white.
CI / SwiftLint (push) Waiting to run
CI / macOS Tests (push) Waiting to run
CI / iOS Simulator Tests (push) Waiting to run

This commit is contained in:
Brent Simmons committed 2026-11-29 07:58:05 -08:00
1 parent b5f17b40a5
commit 43964754dc
1 file changed
+9
@@ -47,6 +47,15 @@ final class TimelineTableRowView: NSTableRowView {
super.init(coder: coder)
}
/// The table may set selection and emphasis before adding the cell view.
override func didAddSubview(_ subview: NSView) {
super.didAddSubview(subview)
if let cellView = subview as? TimelineTableCellView {
cellView.isEmphasized = isEmphasized
cellView.isSelected = isSelected
}
}
private var cellView: TimelineTableCellView? {
for oneSubview in subviews {
if let foundView = oneSubview as? TimelineTableCellView {