File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
feature/library/src/main/kotlin/com/ninecraft/booket/feature/library Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ internal fun LibraryContent(
9797 state.eventSink(LibraryUiEvent .OnFilterClick (status))
9898 },
9999 )
100+ Spacer (modifier = Modifier .height(ReedTheme .spacing.spacing1))
100101
101102 when (state.uiState) {
102103 is UiState .Idle -> {
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ fun FilterChip(
3030 modifier : Modifier = Modifier ,
3131) {
3232 val chipColor = if (isSelected) ReedTheme .colors.bgPrimary else ReedTheme .colors.basePrimary
33- val textColor = if (isSelected) White else ReedTheme .colors.contentSecondary
33+ val labelColor = if (isSelected) White else ReedTheme .colors.contentSecondary
34+ val countColor = if (isSelected) White else ReedTheme .colors.contentTertiary
35+ val labelStyle = if (isSelected) ReedTheme .typography.label1SemiBold else ReedTheme .typography.label1Medium
3436
3537 Box (
3638 modifier = modifier
@@ -59,13 +61,13 @@ fun FilterChip(
5961 Row (verticalAlignment = Alignment .CenterVertically ) {
6062 Text (
6163 text = stringResource(option.getDisplayNameRes()),
62- color = textColor ,
63- style = ReedTheme .typography.label1SemiBold ,
64+ color = labelColor ,
65+ style = labelStyle ,
6466 )
6567 Spacer (modifier = Modifier .width(ReedTheme .spacing.spacing1))
6668 Text (
6769 text = " $count " ,
68- color = textColor ,
70+ color = countColor ,
6971 style = ReedTheme .typography.label1SemiBold,
7072 )
7173 }
You can’t perform that action at this time.
0 commit comments