fix(common): re-add spacer to comments page

This commit is contained in:
Harsh Shandilya 2024-08-29 16:34:43 +05:30
parent dc06410fc4
commit bf52966772

View file

@ -14,7 +14,9 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.HorizontalDivider
@ -91,6 +93,8 @@ internal fun CommentsPageInternal(
commentNodes.forEach { node -> commentNodes.forEach { node ->
item(key = node.comment.shortId) { Node(node, htmlConverter, openUserProfile) } item(key = node.comment.shortId) { Node(node, htmlConverter, openUserProfile) }
} }
item(key = "bottom_spacer") { Spacer(modifier = Modifier.height(16.dp)) }
} else { } else {
item { item {
Text( Text(