유료 콘텐츠 미리 듣기 재생 버튼 추가

This commit is contained in:
Yu Sung
2023-10-06 01:22:56 +09:00
parent 962197d319
commit 47ae2ec8e1
4 changed files with 24 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ struct ContentDetailView: View {
VStack(spacing: 0) {
ContentDetailPlayView(
audioContent: audioContent,
isAlertPreview: audioContent.price > 0 && !audioContent.existOrdered && audioContent.orderType == nil && audioContent.creator.creatorId != UserDefaults.int(forKey: .userId),
isShowPreviewAlert: $viewModel.isShowPreviewAlert
)