From 115673b2a6f342274a52d2f085c7a8dd25557ce1 Mon Sep 17 00:00:00 2001 From: Kevinlinpr Date: Tue, 24 Sep 2024 04:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E7=95=8C=E9=9D=A2=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=BA=95=E9=83=A8Padding=E5=8A=A8=E7=94=BB=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/aiosman/riderpro/ui/chat/ChatScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/aiosman/riderpro/ui/chat/ChatScreen.kt b/app/src/main/java/com/aiosman/riderpro/ui/chat/ChatScreen.kt index 618bb22..5f3ed1a 100644 --- a/app/src/main/java/com/aiosman/riderpro/ui/chat/ChatScreen.kt +++ b/app/src/main/java/com/aiosman/riderpro/ui/chat/ChatScreen.kt @@ -337,7 +337,7 @@ fun ChatInput( var isKeyboardOpen by remember { mutableStateOf(false) } var text by remember { mutableStateOf("") } val inputBarHeight by animateDpAsState( - targetValue = if (isKeyboardOpen) 8.dp else navigationBarHeight, + targetValue = if (isKeyboardOpen) 8.dp else (navigationBarHeight + 8.dp), animationSpec = tween(durationMillis = 300), label = "" )