flattening box layer
This commit is contained in:
parent
d03cadb3b7
commit
94a05898c8
|
@ -651,9 +651,8 @@ private fun TextComposer(state: ComposerState.Text, onTextChange: (String) -> Un
|
|||
.background(SmallTalkTheme.extendedColors.othersBubble, RoundedCornerShape(24.dp)),
|
||||
contentAlignment = Alignment.TopStart,
|
||||
) {
|
||||
Box(Modifier.padding(14.dp)) {
|
||||
BasicTextField(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
modifier = Modifier.fillMaxWidth().padding(14.dp),
|
||||
value = state.value,
|
||||
onValueChange = { onTextChange(it) },
|
||||
cursorBrush = SolidColor(MaterialTheme.colorScheme.primary),
|
||||
|
@ -677,7 +676,6 @@ private fun TextComposer(state: ComposerState.Text, onTextChange: (String) -> Un
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
Spacer(modifier = Modifier.width(6.dp))
|
||||
var size by remember { mutableStateOf(IntSize(0, 0)) }
|
||||
val enabled = state.value.isNotEmpty()
|
||||
|
|
Loading…
Reference in New Issue