fix(chat): Column 同时传 content 与尾随 lambda 导致编译失败
This commit is contained in:
1 parent
7faa604fd0
commit
5975827aea
1 file changed
+1
-1
@@ -97,8 +97,8 @@ private fun MessageGroup(
|
|||||||
.padding(horizontal = 14.dp),
|
.padding(horizontal = 14.dp),
|
||||||
horizontalAlignment = if (isUser) Alignment.End else Alignment.Start,
|
horizontalAlignment = if (isUser) Alignment.End else Alignment.Start,
|
||||||
verticalArrangement = Arrangement.spacedBy(6.dp),
|
verticalArrangement = Arrangement.spacedBy(6.dp),
|
||||||
content = content,
|
|
||||||
) {
|
) {
|
||||||
|
content()
|
||||||
// 来源角标挂在消息组末尾,紧随它标注的那条消息(主人右下、昔涟左下)
|
// 来源角标挂在消息组末尾,紧随它标注的那条消息(主人右下、昔涟左下)
|
||||||
if (footer != null) {
|
if (footer != null) {
|
||||||
Text(
|
Text(
|
||||||
|
|||||||
Reference in new issue
Block a user