mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 05:17:03 +05:30
Partially revert "fix(api): refresh post details golden snapshot"
There's a more complete patch available from the person who filed the issue
This partially reverts commit e81e28c395
.
This commit is contained in:
parent
833fcb616d
commit
bff573ec10
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ private fun CommentEntry(
|
||||||
commenterName = comment.user,
|
commenterName = comment.user,
|
||||||
score = comment.score,
|
score = comment.score,
|
||||||
createdAt = comment.createdAt,
|
createdAt = comment.createdAt,
|
||||||
updatedAt = comment.lastEditedAt,
|
updatedAt = comment.updatedAt,
|
||||||
nameColorOverride =
|
nameColorOverride =
|
||||||
if (commentNode.isPostAuthor) MaterialTheme.colorScheme.tertiary else null,
|
if (commentNode.isPostAuthor) MaterialTheme.colorScheme.tertiary else null,
|
||||||
),
|
),
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Comment(
|
||||||
val url: String,
|
val url: String,
|
||||||
val score: Int,
|
val score: Int,
|
||||||
@Serializable(with = JavaInstantSerializer::class) val createdAt: TemporalAccessor,
|
@Serializable(with = JavaInstantSerializer::class) val createdAt: TemporalAccessor,
|
||||||
@Serializable(with = JavaInstantSerializer::class) val lastEditedAt: TemporalAccessor,
|
@Serializable(with = JavaInstantSerializer::class) val updatedAt: TemporalAccessor,
|
||||||
val parentComment: String?,
|
val parentComment: String?,
|
||||||
@SerialName("commenting_user") val user: String,
|
@SerialName("commenting_user") val user: String,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue