mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
parent
7487664ac2
commit
9f7fd29f09
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ internal fun CommentsHeader(
|
|||
Spacer(Modifier.height(4.dp))
|
||||
}
|
||||
Submitter(
|
||||
text = AnnotatedString("Submitted by ${post.submitter}"),
|
||||
text =
|
||||
AnnotatedString(
|
||||
"${if (post.userIsAuthor) "Authored" else "Submitted"} by ${post.submitter}"
|
||||
),
|
||||
avatarUrl = "https://lobste.rs/avatars/${post.submitter}-100.png",
|
||||
contentDescription = "User avatar for ${post.submitter}",
|
||||
modifier = Modifier.clickable { openUserProfile(post.submitter) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue