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

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

@@ -76,14 +76,14 @@ struct SeriesDetailView: View {
}
VStack(alignment: .leading, spacing: 0) {
Text(seriesDetail.title)
Text(seriesDetail.displayTitle)
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color.grayee)
.padding(.horizontal, 13.3)
.padding(.top, 24)
HStack(spacing: 5.3) {
Text(seriesDetail.genre)
Text(seriesDetail.displayGenre)
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "3bac6a"))
.padding(.horizontal, 5.3)
@@ -118,8 +118,8 @@ struct SeriesDetailView: View {
ScrollView(.horizontal, showsIndicators: false) {
HStack(spacing: 5.3) {
ForEach(0..<seriesDetail.keywordList.count, id: \.self) {
SeriesKeywordChipView(keyword: seriesDetail.keywordList[$0])
ForEach(0..<seriesDetail.displayKeywords.count, id: \.self) {
SeriesKeywordChipView(keyword: seriesDetail.displayKeywords[$0])
}
}
}
@@ -209,7 +209,7 @@ struct SeriesDetailView: View {
default:
SeriesDetailHomeView(
title: seriesDetail.title,
title: seriesDetail.displayTitle,
seriesId: seriesDetail.seriesId,
contentCount: seriesDetail.contentCount,
contentList: seriesDetail.contentList