File tree Expand file tree Collapse file tree
app/src/main/java/com/xjyzs/aiapi Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ import androidx.compose.ui.focus.FocusRequester
8787import androidx.compose.ui.focus.focusRequester
8888import androidx.compose.ui.graphics.Color
8989import androidx.compose.ui.graphics.RectangleShape
90+ import androidx.compose.ui.graphics.SolidColor
9091import androidx.compose.ui.graphics.vector.ImageVector
9192import androidx.compose.ui.layout.onSizeChanged
9293import androidx.compose.ui.platform.LocalContext
@@ -529,6 +530,7 @@ fun MessageInputBar(
529530 textStyle = LocalTextStyle .current.copy(
530531 color = MaterialTheme .colorScheme.onSurface
531532 ),
533+ cursorBrush = SolidColor (MaterialTheme .colorScheme.primary),
532534 maxLines = 7 ,
533535 decorationBox = { innerTextField ->
534536 Box (
@@ -538,7 +540,7 @@ fun MessageInputBar(
538540 color = MaterialTheme .colorScheme.outline,
539541 shape = RoundedCornerShape (18 .dp)
540542 )
541- .padding(vertical = 5 .dp, horizontal = 8 .dp)
543+ .padding(vertical = 5 .dp, horizontal = 10 .dp)
542544 ) {
543545 if (msg.isEmpty()) {
544546 Text (
Original file line number Diff line number Diff line change 11[versions ]
2- agp = " 8.9.3 "
2+ agp = " 8.10.1 "
33gson = " 2.13.1"
44kotlin = " 2.1.20"
55coreKtx = " 1.16.0"
You can’t perform that action at this time.
0 commit comments