diff --git a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt index c9568a40..37728329 100644 --- a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt +++ b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt @@ -54,9 +54,9 @@ fun CommentEntry( CommentTreeColors(indentLevel = indentLevel) Column(modifier = Modifier.padding(start = 12.dp, end = 8.dp, top = 4.dp, bottom = 4.dp)) { SubmitterName( - text = "Submitted by ${comment.user.username}", + text = comment.user.username, avatarUrl = "https://lobste.rs/${comment.user.avatarUrl}", - contentDescription = "Submitted by ${comment.user.username}", + contentDescription = "User avatar for ${comment.user.username}", ) MaterialRichText(modifier = Modifier.padding(top = 8.dp)) { Markdown(htmlToMarkdown(comment.comment)) diff --git a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt index 00fb4594..e6740c60 100644 --- a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt +++ b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/posts/LobstersItem.kt @@ -92,7 +92,7 @@ fun PostDetails( SubmitterName( text = "Submitted by ${post.submitterName}", avatarUrl = "https://lobste.rs/${post.submitterAvatarUrl}", - contentDescription = "Submitted by ${post.submitterName}", + contentDescription = "User avatar for ${post.submitterName}", ) }