Skip to content

Commit 51e971e

Browse files
committed
[refactor]: 기존 Group 검색 컴포넌트 이름 및 divider 수정 (#47)
1 parent 73d60bb commit 51e971e

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

app/src/main/java/com/texthip/thip/ui/group/myroom/component/GroupEmptyResult.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import androidx.compose.ui.Alignment
1010
import androidx.compose.ui.Modifier
1111
import androidx.compose.ui.unit.dp
1212
import com.texthip.thip.ui.theme.ThipTheme
13+
import com.texthip.thip.ui.theme.ThipTheme.colors
14+
import com.texthip.thip.ui.theme.ThipTheme.typography
1315

1416
@Composable
1517
fun GroupEmptyResult(
1618
mainText: String,
1719
subText: String
1820
) {
19-
val colors = ThipTheme.colors
20-
val typography = ThipTheme.typography
2121
Column(
2222
modifier = Modifier.fillMaxSize(),
2323
verticalArrangement = Arrangement.Center,

app/src/main/java/com/texthip/thip/ui/group/myroom/component/GroupFilteredSearchResult.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import com.texthip.thip.ui.common.buttons.GenreChipRow
1515
import com.texthip.thip.ui.common.cards.CardItemRoomSmall
1616
import com.texthip.thip.ui.group.myroom.mock.GroupCardItemRoomData
1717
import com.texthip.thip.ui.theme.ThipTheme
18+
import com.texthip.thip.ui.theme.ThipTheme.colors
19+
import com.texthip.thip.ui.theme.ThipTheme.typography
1820

1921
@Composable
2022
fun GroupFilteredSearchResult(
@@ -24,9 +26,6 @@ fun GroupFilteredSearchResult(
2426
resultCount: Int,
2527
roomList: List<GroupCardItemRoomData>
2628
) {
27-
val colors = ThipTheme.colors
28-
val typography = ThipTheme.typography
29-
3029
GenreChipRow(
3130
modifier = Modifier.width(20.dp),
3231
genres = genres,

app/src/main/java/com/texthip/thip/ui/group/myroom/component/GroupRecentSearch.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import com.texthip.thip.ui.theme.ThipTheme
1212
import androidx.compose.foundation.layout.FlowRow
1313
import androidx.compose.foundation.layout.Spacer
1414
import androidx.compose.foundation.layout.height
15+
import com.texthip.thip.ui.theme.ThipTheme.colors
16+
import com.texthip.thip.ui.theme.ThipTheme.typography
1517

1618
@Composable
1719
fun GroupRecentSearch(
1820
recentSearches: List<String>,
1921
onSearchClick: (String) -> Unit,
2022
onRemove: (String) -> Unit
2123
) {
22-
val colors = ThipTheme.colors
23-
val typography = ThipTheme.typography
2424
Text(
2525
text = stringResource(R.string.group_recent_search),
2626
color = colors.White,

0 commit comments

Comments
 (0)