From 520430592cbf0a112f16968584f9c839dfc56c21 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 15 Nov 2021 23:09:40 +0530 Subject: [PATCH] common: add back missing indent level --- .../dev/msfjarvis/claw/common/comments/CommentEntry.kt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt index 2de30f68..8a35d67b 100644 --- a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt +++ b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt @@ -45,7 +45,15 @@ fun CommentEntry( val htmlConverter = LocalHTMLConverter.current Divider(color = Color.Gray.copy(0.4f)) Row(modifier = Modifier.wrapContentHeight()) { - Column(modifier = Modifier.padding(start = 12.dp, end = 8.dp, top = 4.dp, bottom = 4.dp)) { + Column( + modifier = + Modifier.padding( + start = (comment.indentLevel * 12).dp, + end = 8.dp, + top = 4.dp, + bottom = 4.dp + ) + ) { SubmitterName( text = comment.user.username, avatarUrl = "https://lobste.rs/${comment.user.avatarUrl}",