File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
kotlin/com/ninecraft/booket/feature/search Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,21 @@ internal fun SearchContent(
125125
126126 is UiState .Idle -> {
127127 LazyColumn {
128+ item {
129+ Column (
130+ modifier = Modifier
131+ .fillMaxWidth()
132+ .padding(horizontal = ReedTheme .spacing.spacing5, vertical = ReedTheme .spacing.spacing2),
133+ ) {
134+ Text (
135+ text = stringResource(R .string.recent_search),
136+ color = ReedTheme .colors.contentPrimary,
137+ style = ReedTheme .typography.body1SemiBold,
138+ )
139+ Spacer (modifier = Modifier .height(ReedTheme .spacing.spacing1))
140+ }
141+ }
142+
128143 items(
129144 count = state.recentSearches.size,
130145 key = { index -> state.recentSearches[index] },
Original file line number Diff line number Diff line change 33 <string name =" search_title" >도서 검색</string >
44 <string name =" search_result_prefix" >총  </string >
55 <string name =" search_result_suffix" >개</string >
6+ <string name =" recent_search" >최근 검색어</string >
67 <string name =" retry" >다시 시도</string >
78 <string name =" no_more_results" >더 이상 결과가 없습니다</string >
89 <string name =" error_message" >오류가 발생했습니다</string >
You can’t perform that action at this time.
0 commit comments