@@ -2,24 +2,26 @@ package com.texthip.thip.ui.group.myroom.screen
22
33import androidx.compose.foundation.background
44import androidx.compose.foundation.layout.Arrangement
5- import androidx.compose.foundation.layout.Column
65import androidx.compose.foundation.layout.Spacer
76import androidx.compose.foundation.layout.fillMaxWidth
87import androidx.compose.foundation.layout.height
8+ import androidx.compose.foundation.lazy.LazyColumn
9+ import androidx.compose.foundation.lazy.items
910import androidx.compose.runtime.Composable
1011import androidx.compose.ui.Modifier
1112import androidx.compose.ui.unit.dp
1213import com.texthip.thip.ui.common.cards.CardItemRoomSmall
1314import com.texthip.thip.ui.group.myroom.mock.GroupCardItemRoomData
14- import com.texthip.thip.ui.theme.ThipTheme
15+ import com.texthip.thip.ui.theme.ThipTheme.colors
1516
1617@Composable
1718fun GroupLiveSearchResultScreen (
1819 roomList : List <GroupCardItemRoomData >
1920) {
20- val colors = ThipTheme .colors
21- Column (verticalArrangement = Arrangement .spacedBy(16 .dp)) {
22- roomList.forEach { room ->
21+ LazyColumn (
22+ verticalArrangement = Arrangement .spacedBy(16 .dp)
23+ ) {
24+ items(roomList) { room ->
2325 CardItemRoomSmall (
2426 title = room.title,
2527 participants = room.participants,
0 commit comments