mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +05:30
common: tweak commenter name and adjust content description
This commit is contained in:
parent
a73871f421
commit
1620ea75fd
2 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
|
@ -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}",
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue