콘텐츠 상세

- 미리듣기가 없을 떄 문구 추가
This commit is contained in:
Yu Sung 2024-01-29 16:23:51 +09:00
parent 708cef356b
commit 6aaf383013
1 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,13 @@ struct ContentDetailPlayView: View {
isShowPreviewAlert = true 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) { VStack(alignment: .leading, spacing: 13.3) {