File tree Expand file tree Collapse file tree
app/src/main/java/com/texthip/thip/ui/group/myroom/component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ import androidx.compose.ui.Alignment
1010import androidx.compose.ui.Modifier
1111import androidx.compose.ui.unit.dp
1212import 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
1517fun 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 ,
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ import com.texthip.thip.ui.common.buttons.GenreChipRow
1515import com.texthip.thip.ui.common.cards.CardItemRoomSmall
1616import com.texthip.thip.ui.group.myroom.mock.GroupCardItemRoomData
1717import 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
2022fun 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,
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ import com.texthip.thip.ui.theme.ThipTheme
1212import androidx.compose.foundation.layout.FlowRow
1313import androidx.compose.foundation.layout.Spacer
1414import 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
1719fun 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 ,
You can’t perform that action at this time.
0 commit comments