AI 채팅 원작 상세 - 번역 데이터가 있으면 번역 데이터를 표시하도록 수정

This commit is contained in:
Yu Sung
2025-12-17 00:42:34 +09:00
parent 30c70ee638
commit d2ff2782fe
3 changed files with 17 additions and 6 deletions

View File

@@ -160,7 +160,7 @@ struct OriginalWorkInfoView: View {
.font(.custom(Font.preBold.rawValue, size: 16))
.foregroundColor(.white)
Text(response.description)
Text(response.translated?.description ?? response.description)
.font(.custom(Font.preRegular.rawValue, size: 14))
.foregroundColor(Color(hex: "B0BEC5"))
.lineLimit(isExpandDesc ? Int.max : 3)