mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
feat: highlight story author in comments
This commit is contained in:
parent
7bdaf691df
commit
5db68ba186
5 changed files with 31 additions and 9 deletions
|
@ -36,4 +36,5 @@ class LobstersPostDetails(
|
|||
@SerialName("submitter_user") val submitter: String,
|
||||
val tags: List<String>,
|
||||
val comments: List<Comment>,
|
||||
@SerialName("user_is_author") val userIsAuthor: Boolean = false,
|
||||
)
|
||||
|
|
|
@ -27,7 +27,7 @@ data class UIPost(
|
|||
@SerialName("submitter_user") val submitter: String,
|
||||
val tags: List<String>,
|
||||
val comments: List<Comment> = emptyList(),
|
||||
val userIsAuthor: Boolean = false,
|
||||
@SerialName("user_is_author") val userIsAuthor: Boolean = false,
|
||||
) {
|
||||
@KonvertFrom(
|
||||
value = SavedPost::class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue