From eb500e0c73614fe9ff69edebeea8370c4dbde08c Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 19 Sep 2023 14:18:28 +0200 Subject: [PATCH] Fix vertical icon alignment --- .../features/roomlist/impl/components/RoomSummaryRow.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/features/roomlist/impl/src/main/kotlin/io/element/android/features/roomlist/impl/components/RoomSummaryRow.kt b/features/roomlist/impl/src/main/kotlin/io/element/android/features/roomlist/impl/components/RoomSummaryRow.kt index 0d68666c6f..6e9df51a44 100644 --- a/features/roomlist/impl/src/main/kotlin/io/element/android/features/roomlist/impl/components/RoomSummaryRow.kt +++ b/features/roomlist/impl/src/main/kotlin/io/element/android/features/roomlist/impl/components/RoomSummaryRow.kt @@ -171,12 +171,13 @@ private fun RowScope.LastMessageAndIndicatorRow(room: RoomListRoomSummary) { // Unread Row( - horizontalArrangement = Arrangement.spacedBy(8.dp) + horizontalArrangement = Arrangement.spacedBy(8.dp), + verticalAlignment = Alignment.CenterVertically, ) { NotificationIcon(room) if (room.hasUnread) { UnreadIndicatorAtom( - modifier = Modifier.padding(top = 3.dp), + modifier = Modifier.padding(vertical = 3.dp), ) } }