This commit is contained in:
Eric85710 2026-06-11 05:54:37 +08:00
parent 317335c242
commit 27d4924b8e

View file

@ -217,12 +217,11 @@ fun MessageMessaging(
//name and avatar //name and avatar
Box( Box(
modifier = Modifier modifier = Modifier
.width(260.dp) .weight(0.72f)
.sharedElement( .sharedElement(
rememberSharedContentState(key = "container_$roomId"), rememberSharedContentState(key = "container_$roomId"),
animatedVisibilityScope = animatedVisibilityScope animatedVisibilityScope = animatedVisibilityScope
) )
.padding(6.dp)
.clip(topBarShape) .clip(topBarShape)
.background( .background(
color = MaterialTheme.colorScheme.primary, color = MaterialTheme.colorScheme.primary,
@ -278,11 +277,13 @@ fun MessageMessaging(
} }
} }
Spacer(modifier = Modifier.width(6.dp))
//voice call button //voice call button
Box( Box(
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,
modifier = Modifier modifier = Modifier
.width(58.dp) .weight(0.14f)
.height(58.dp) .height(58.dp)
.background( .background(
color = MaterialTheme.colorScheme.primary, color = MaterialTheme.colorScheme.primary,
@ -310,11 +311,13 @@ fun MessageMessaging(
} }
} }
//voice call button Spacer(modifier = Modifier.width(6.dp))
//more option button
Box( Box(
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,
modifier = Modifier modifier = Modifier
.width(58.dp) .weight(0.14f)
.height(58.dp) .height(58.dp)
.background( .background(
color = MaterialTheme.colorScheme.primary, color = MaterialTheme.colorScheme.primary,
@ -342,6 +345,8 @@ fun MessageMessaging(
} }
} }
} }
Spacer(modifier = Modifier.height(6.dp))
} }
} }
, ,