Compare commits

..

2 Commits

Author SHA1 Message Date
Yu Sung 6aaf383013 콘텐츠 상세
- 미리듣기가 없을 떄 문구 추가
2024-01-29 16:23:51 +09:00
Yu Sung 708cef356b 콘텐츠 제목 - 2줄 이상인 경우 왼쪽정렬 2024-01-29 15:59:37 +09:00
2 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,7 @@ struct ContentListItemView: View {
Text(item.title)
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "d2d2d2"))
.multilineTextAlignment(.leading)
.padding(.top, 8)
.padding(.bottom, 10)

View File

@ -56,6 +56,13 @@ struct ContentDetailPlayView: View {
isShowPreviewAlert = true
}
}
} else {
Text("해당 콘텐츠는 크리에이터의 요청으로\n미리듣기를 제공하지 않습니다.")
.font(.custom(Font.medium.rawValue, size: 16.7))
.foregroundColor(Color.grayee)
.padding(13.3)
.background(Color.gray33.opacity(0.5))
.cornerRadius(46.7)
}
VStack(alignment: .leading, spacing: 13.3) {