From 36e5d6f43cdee3ceda9cd358d10581adb52043f7 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 26 Jun 2023 15:27:46 +0200 Subject: [PATCH] Use same size. --- .../android/features/messages/impl/actionlist/ActionListView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListView.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListView.kt index 9852691d69..b15ae66c0f 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListView.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListView.kt @@ -215,7 +215,7 @@ private fun MessageSummary(event: TimelineItem.Event, modifier: Modifier = Modif var icon: @Composable () -> Unit = { Avatar(avatarData = event.senderAvatar.copy(size = AvatarSize.MessageActionSender)) } val contentStyle = ElementTextStyles.Regular.bodyMD.copy(color = MaterialTheme.colorScheme.secondary) val imageModifier = Modifier - .size(36.dp) + .size(AvatarSize.MessageActionSender.dp) .clip(RoundedCornerShape(9.dp)) @Composable