From 281cb17c2b72539e64faeb4fc65f05d57c80248d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Thu, 20 Jul 2023 07:27:13 +0200 Subject: [PATCH] Fix typo --- .../impl/timeline/components/TimelineItemReactionsLayout.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemReactionsLayout.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemReactionsLayout.kt index 3b1cb9b878..802a593447 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemReactionsLayout.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemReactionsLayout.kt @@ -65,7 +65,7 @@ fun TimelineItemReactionsLayout( measurables.forEach { placeable -> val horizontalSpacing = if (currentRow.isEmpty()) 0 else itemSpacing.toPx().toInt() - // If the current view does not fine on this row bump to the next + // If the current view does not fit on this row bump to the next if (rowX + placeable.width > constraints.maxWidth) { rows.add(currentRow) currentRow = mutableListOf()