mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
fix: users can exist without inviters
This commit is contained in:
parent
4b9b148519
commit
51a8538d6a
3 changed files with 10 additions and 4 deletions
|
@ -90,9 +90,11 @@ private fun UserProfileInternal(
|
|||
ThemedRichText(
|
||||
text = user.about,
|
||||
)
|
||||
ThemedRichText(
|
||||
text = "Invited by [${user.invitedBy}](https://lobste.rs/u/${user.invitedBy})",
|
||||
)
|
||||
user.invitedBy?.let { invitedBy ->
|
||||
ThemedRichText(
|
||||
text = "Invited by [${invitedBy}](https://lobste.rs/u/${user.invitedBy})",
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue