From 44071e2ff8ea6136de173a9aaa5d4f7b9d0eb3be Mon Sep 17 00:00:00 2001 From: Eric85710 Date: Thu, 11 Jun 2026 05:22:44 +0800 Subject: [PATCH] dm-115 --- .../login_v3/home/Message/UI/Detail/Message_Messaging.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/login_v3/home/Message/UI/Detail/Message_Messaging.kt b/app/src/main/java/com/example/login_v3/home/Message/UI/Detail/Message_Messaging.kt index af9489e..92a2d60 100644 --- a/app/src/main/java/com/example/login_v3/home/Message/UI/Detail/Message_Messaging.kt +++ b/app/src/main/java/com/example/login_v3/home/Message/UI/Detail/Message_Messaging.kt @@ -203,6 +203,7 @@ fun MessageMessaging( Spacer(modifier = Modifier.height(20.dp)) + val topBarShape = RoundedCornerShape(16.dp) //topbar content Box( modifier = Modifier @@ -211,14 +212,16 @@ fun MessageMessaging( rememberSharedContentState(key = "container_$roomId"), animatedVisibilityScope = animatedVisibilityScope ) + .padding(6.dp) + .clip(topBarShape) .background( color = MaterialTheme.colorScheme.primary, - shape = RoundedCornerShape(0.dp) + shape = topBarShape // ๐Ÿ‘ˆ 1. ่ƒŒๆ™ฏๆ”น็”จๅœ“่ง’ ) .border( width = 0.5.dp, color = Color.White.copy(alpha = 0.4f), - shape = RoundedCornerShape(0.dp) + shape = topBarShape // ๐Ÿ‘ˆ 2. ้‚Šๆก†ไนŸ่ฆ็”จๅŒไธ€ๅ€‹ๅœ“่ง’๏ผŒๆ‰ไธๆœƒ็ฉฟๅนซ๏ผ ) ) { // 2. ๆ”น็”จ Column ๅฐ‡ใ€Œ็‹€ๆ…‹ๆฌ„็ฉบ้–“ใ€่ˆ‡ใ€Œๅฏฆ้š›ๅ…งๅฎนใ€ๅž‚็›ดๆŽ’ๅˆ—