Skip to content

Commit

Permalink
fix: new line can not be added to message composer
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara committed Dec 17, 2024
1 parent 90282ea commit 6864270
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.text.input.TextFieldLineLimits
import androidx.compose.foundation.text.input.TextFieldState
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -312,7 +313,8 @@ private fun MessageComposerTextInput(
},
interactionSource = interactionSource,
onSelectedLineIndexChanged = onSelectedLineIndexChanged,
onLineBottomYCoordinateChanged = onLineBottomYCoordinateChanged
onLineBottomYCoordinateChanged = onLineBottomYCoordinateChanged,
lineLimits = TextFieldLineLimits.MultiLine()
)
}

Expand Down

0 comments on commit 6864270

Please sign in to comment.