diff --git a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomListContentView.kt b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomListContentView.kt index 874f4f4784..09dc51d68f 100644 --- a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomListContentView.kt +++ b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomListContentView.kt @@ -239,7 +239,7 @@ private fun RoomsViewList( ) { OnVisibleRangeChangeEffect(lazyListState) { visibleRange -> // The first item of the list is the banner slot, remove it to get the range of the rooms - val roomsRange = (visibleRange.first - 1).coerceAtLeast(0)..(visibleRange.last - 1) + val roomsRange = (visibleRange.first - 1).coerceAtLeast(0)..