diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentsPageImpl.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentsPageImpl.kt index 56463dcb..58d280cf 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentsPageImpl.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentsPageImpl.kt @@ -225,7 +225,7 @@ private fun CommentEntry( commenterName = comment.user, score = comment.score, createdAt = comment.createdAt, - updatedAt = comment.lastEditedAt, + updatedAt = comment.updatedAt, nameColorOverride = if (commentNode.isPostAuthor) MaterialTheme.colorScheme.tertiary else null, ), diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt index 2fe4bf26..54af384e 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt @@ -22,7 +22,7 @@ class Comment( val url: String, val score: Int, @Serializable(with = JavaInstantSerializer::class) val createdAt: TemporalAccessor, - @Serializable(with = JavaInstantSerializer::class) val lastEditedAt: TemporalAccessor, + @Serializable(with = JavaInstantSerializer::class) val updatedAt: TemporalAccessor, val parentComment: String?, @SerialName("commenting_user") val user: String, )