Skip to content

Commit

Permalink
[#440] 검색 디테일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minjung0067 committed Jan 23, 2025
1 parent 1f860c0 commit f7cec0a
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Presentation/OriginalPaper/Menus/SearchList/SearchView.swift
Original file line number Diff line number Diff line change
@@ -39,10 +39,13 @@ struct SearchView: View {


if viewModel.isNoMatchTextVisible {
Spacer()
Spacer()
Text("일치하는 결과 없음")
.reazyFont(.text5)
.foregroundStyle(.gray800)
.padding(.bottom, 60)
Spacer()
}

if viewModel.isLoading {
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ extension SearchViewModel {
attributedText.setAttributes(attributes)

let range = attributedText.range(of: keyword, options: .caseInsensitive)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 12)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 14)

resultText.append(attributedText + " ")
continue
@@ -210,7 +210,7 @@ extension SearchViewModel {
attributedText.setAttributes(attributes)

let range = attributedText.range(of: keyword, options: .caseInsensitive)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 12)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 14)

resultText.append(attributedText + " ")
continue
@@ -242,7 +242,7 @@ extension SearchViewModel {
attributedText.setAttributes(attributes)

let range = attributedText.range(of: keyword, options: .caseInsensitive)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 12)
attributedText[range!].font = .custom(ReazyFontType.pretendardBoldFont, size: 14)

resultText.append(attributedText + " ")
continue

0 comments on commit f7cec0a

Please sign in to comment.