Skip to content

Commit 4f01a1f

Browse files
committed
Bold the text when the post author equals comment author
1 parent 1a6be7b commit 4f01a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/Views/CommentsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct CommentView: View {
4747

4848
var authorText: some View {
4949
if comment.author == postAuthor {
50-
return Text(comment.author).foregroundColor(.accentColor)
50+
return Text(comment.author).foregroundColor(.accentColor).bold()
5151
} else {
5252
return Text(comment.author)
5353
}

0 commit comments

Comments
 (0)