시리즈 상세 - 번역 데이터가 있으면 번역 데이터를 표시하도록 수정

This commit is contained in:
Yu Sung
2025-12-17 00:35:16 +09:00
parent b61f432b72
commit 30c70ee638
3 changed files with 60 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ struct SeriesDetailIntroductionView: View {
.padding(.top, 16)
.padding(.horizontal, 13.3)
FlowLayout(mode: .scrollable, items: seriesDetail.keywordList, itemSpacing: 5.3) {
FlowLayout(mode: .scrollable, items: seriesDetail.displayKeywords, itemSpacing: 5.3) {
SeriesKeywordChipView(keyword: $0)
}
.padding(.horizontal, 13.3)
@@ -35,7 +35,7 @@ struct SeriesDetailIntroductionView: View {
.font(.custom(Font.bold.rawValue, size: 14.7))
.foregroundColor(Color.grayee)
Text(seriesDetail.introduction)
Text(seriesDetail.displayIntroduction)
.font(.custom(Font.medium.rawValue, size: 14.7))
.foregroundColor(Color.gray77)
.lineSpacing(4)
@@ -83,7 +83,7 @@ struct SeriesDetailIntroductionView: View {
}
VStack(alignment: .leading, spacing: 13.3) {
Text(seriesDetail.genre)
Text(seriesDetail.displayGenre)
.font(.custom(Font.medium.rawValue, size: 14.7))
.foregroundColor(Color.white)
@@ -107,7 +107,7 @@ struct SeriesDetailIntroductionView: View {
.font(.custom(Font.medium.rawValue, size: 14.7))
.foregroundColor(Color.white)
Text(seriesDetail.publishedDate)
Text(seriesDetail.displayPublishedDate)
.font(.custom(Font.medium.rawValue, size: 14.7))
.foregroundColor(Color.white)
}