fix(api): refresh post details golden snapshot

Fixes #775
This commit is contained in:
Harsh Shandilya 2025-02-14 03:26:58 +05:30
parent 94ccda61f6
commit e81e28c395
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -225,7 +225,7 @@ private fun CommentEntry(
commenterName = comment.user,
score = comment.score,
createdAt = comment.createdAt,
updatedAt = comment.updatedAt,
updatedAt = comment.lastEditedAt,
nameColorOverride =
if (commentNode.isPostAuthor) MaterialTheme.colorScheme.tertiary else null,
),

View file

@ -22,7 +22,7 @@ class Comment(
val url: String,
val score: Int,
@Serializable(with = JavaInstantSerializer::class) val createdAt: TemporalAccessor,
@Serializable(with = JavaInstantSerializer::class) val updatedAt: TemporalAccessor,
@Serializable(with = JavaInstantSerializer::class) val lastEditedAt: TemporalAccessor,
val parentComment: String?,
@SerialName("commenting_user") val user: String,
)