mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 13:47:31 +01:00
fix: divider in create comment screen (#847)
This commit is contained in:
parent
a10189d212
commit
d922ca5aed
@ -244,27 +244,31 @@ class CreateCommentScreen(
|
||||
val originalComment = uiState.originalComment
|
||||
val originalPost = uiState.originalPost
|
||||
if (originalComment != null) {
|
||||
CommentCard(
|
||||
modifier = referenceModifier,
|
||||
comment = originalComment,
|
||||
preferNicknames = uiState.preferNicknames,
|
||||
indentAmount = 0,
|
||||
voteFormat = uiState.voteFormat,
|
||||
autoLoadImages = uiState.autoLoadImages,
|
||||
showScores = uiState.showScores,
|
||||
options = buildList {
|
||||
add(
|
||||
Option(
|
||||
OptionId.SeeRaw,
|
||||
LocalXmlStrings.current.postActionSeeRaw
|
||||
Column(
|
||||
verticalArrangement = Arrangement.spacedBy(Spacing.xs),
|
||||
) {
|
||||
CommentCard(
|
||||
modifier = referenceModifier,
|
||||
comment = originalComment,
|
||||
preferNicknames = uiState.preferNicknames,
|
||||
indentAmount = 0,
|
||||
voteFormat = uiState.voteFormat,
|
||||
autoLoadImages = uiState.autoLoadImages,
|
||||
showScores = uiState.showScores,
|
||||
options = buildList {
|
||||
add(
|
||||
Option(
|
||||
OptionId.SeeRaw,
|
||||
LocalXmlStrings.current.postActionSeeRaw
|
||||
)
|
||||
)
|
||||
)
|
||||
},
|
||||
onOptionSelected = {
|
||||
rawContent = originalComment
|
||||
},
|
||||
)
|
||||
HorizontalDivider(modifier = Modifier.padding(vertical = Spacing.interItem))
|
||||
},
|
||||
onOptionSelected = {
|
||||
rawContent = originalComment
|
||||
},
|
||||
)
|
||||
HorizontalDivider(modifier = Modifier.padding(vertical = Spacing.interItem))
|
||||
}
|
||||
} else if (originalPost != null) {
|
||||
PostCard(
|
||||
modifier = referenceModifier,
|
||||
|
Loading…
x
Reference in New Issue
Block a user