시리즈 상세 - 번역 데이터가 있으면 번역 데이터를 표시하도록 수정
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user