크리에이터 채널, 콘텐츠 상세 - 오픈예정 추가
This commit is contained in:
@@ -93,7 +93,17 @@ struct ContentDetailView: View {
|
||||
)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
if audioContent.price > 0 &&
|
||||
if let releaseDate = audioContent.releaseDate {
|
||||
Text(releaseDate)
|
||||
.font(.custom(Font.bold.rawValue, size: 13.3))
|
||||
.foregroundColor(.white)
|
||||
.frame(maxWidth: .infinity)
|
||||
.frame(height: 48.7)
|
||||
.background(Color(hex: "525252"))
|
||||
.cornerRadius(5.3)
|
||||
.padding(.top, 18.3)
|
||||
.padding(.horizontal, 13.3)
|
||||
} else if audioContent.price > 0 &&
|
||||
!audioContent.existOrdered &&
|
||||
audioContent.orderType == nil &&
|
||||
audioContent.creator.creatorId != UserDefaults.int(forKey: .userId) {
|
||||
|
Reference in New Issue
Block a user