Skip to content

Commit

Permalink
Fix snippets' color
Browse files Browse the repository at this point in the history
  • Loading branch information
BPerlakiH committed Sep 3, 2024
1 parent 58bfb76 commit 58e02a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Views/BuildingBlocks/ArticleCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ struct ArticleCell: View {
Spacer().frame(height: 2)
Group {
if let snippet = snippet {
Text(AttributedString(snippet)).lineLimit(4)
Text(AttributedString(snippet)
.settingAttributes(AttributeContainer([.foregroundColor: Color.primary])))
.lineLimit(4)
}
}.font(.caption).multilineTextAlignment(.leading)
Spacer(minLength: 0)
Expand Down

0 comments on commit 58e02a8

Please sign in to comment.