오픈 예정 콘텐츠 상세
- 댓글 창, 좋아요, 공유, 후원 버튼 숨김
This commit is contained in:
		@@ -67,7 +67,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                            .foregroundColor(
 | 
					                            .foregroundColor(
 | 
				
			||||||
                                orderType == .KEEP ?
 | 
					                                orderType == .KEEP ?
 | 
				
			||||||
                                Color(hex: "b1ef2c") :
 | 
					                                Color(hex: "b1ef2c") :
 | 
				
			||||||
                                    Color(hex: "9970ff")
 | 
					                                    Color.button
 | 
				
			||||||
                            )
 | 
					                            )
 | 
				
			||||||
                            .padding(.horizontal, 5.3)
 | 
					                            .padding(.horizontal, 5.3)
 | 
				
			||||||
                            .padding(.vertical, 3.3)
 | 
					                            .padding(.vertical, 3.3)
 | 
				
			||||||
@@ -82,7 +82,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                
 | 
					                
 | 
				
			||||||
                Text(audioContent.title)
 | 
					                Text(audioContent.title)
 | 
				
			||||||
                    .font(.custom(Font.bold.rawValue, size: 16.7))
 | 
					                    .font(.custom(Font.bold.rawValue, size: 16.7))
 | 
				
			||||||
                    .foregroundColor(Color(hex: "d2d2d2"))
 | 
					                    .foregroundColor(Color.grayd2)
 | 
				
			||||||
                    .lineSpacing(5)
 | 
					                    .lineSpacing(5)
 | 
				
			||||||
                    .multilineTextAlignment(.leading)
 | 
					                    .multilineTextAlignment(.leading)
 | 
				
			||||||
                    .fixedSize(horizontal: false, vertical: true)
 | 
					                    .fixedSize(horizontal: false, vertical: true)
 | 
				
			||||||
@@ -90,6 +90,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            .padding(.top, 13.3)
 | 
					            .padding(.top, 13.3)
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
 | 
					            if !audioContent.contentUrl.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty && audioContent.releaseDate == nil {
 | 
				
			||||||
                ScrollView(.horizontal, showsIndicators: false) {
 | 
					                ScrollView(.horizontal, showsIndicators: false) {
 | 
				
			||||||
                    HStack(spacing: 8) {
 | 
					                    HStack(spacing: 8) {
 | 
				
			||||||
                        HStack(spacing: 4) {
 | 
					                        HStack(spacing: 4) {
 | 
				
			||||||
@@ -101,7 +102,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                            
 | 
					                            
 | 
				
			||||||
                            Text("\(audioContent.likeCount)")
 | 
					                            Text("\(audioContent.likeCount)")
 | 
				
			||||||
                                .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
					                                .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
				
			||||||
                            .foregroundColor(Color(hex: "d2d2d2"))
 | 
					                                .foregroundColor(Color.grayd2)
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        .padding(.horizontal, 13.3)
 | 
					                        .padding(.horizontal, 13.3)
 | 
				
			||||||
                        .padding(.vertical, 5.3)
 | 
					                        .padding(.vertical, 5.3)
 | 
				
			||||||
@@ -114,7 +115,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                            
 | 
					                            
 | 
				
			||||||
                            Text("공유")
 | 
					                            Text("공유")
 | 
				
			||||||
                                .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
					                                .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
				
			||||||
                            .foregroundColor(Color(hex: "d2d2d2"))
 | 
					                                .foregroundColor(Color.grayd2)
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        .padding(.horizontal, 13.3)
 | 
					                        .padding(.horizontal, 13.3)
 | 
				
			||||||
                        .padding(.vertical, 5.3)
 | 
					                        .padding(.vertical, 5.3)
 | 
				
			||||||
@@ -130,7 +131,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                                
 | 
					                                
 | 
				
			||||||
                                Text("후원")
 | 
					                                Text("후원")
 | 
				
			||||||
                                    .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
					                                    .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
				
			||||||
                                .foregroundColor(Color(hex: "d2d2d2"))
 | 
					                                    .foregroundColor(Color.grayd2)
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            .padding(.horizontal, 13.3)
 | 
					                            .padding(.horizontal, 13.3)
 | 
				
			||||||
                            .padding(.vertical, 5.3)
 | 
					                            .padding(.vertical, 5.3)
 | 
				
			||||||
@@ -141,6 +142,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                .padding(.top, 13.3)
 | 
					                .padding(.top, 13.3)
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            if let totalContentCount = audioContent.totalContentCount, let remainingContentCount = audioContent.remainingContentCount {
 | 
					            if let totalContentCount = audioContent.totalContentCount, let remainingContentCount = audioContent.remainingContentCount {
 | 
				
			||||||
                ContentDetailInfoLimitedEditionView(
 | 
					                ContentDetailInfoLimitedEditionView(
 | 
				
			||||||
@@ -155,13 +157,13 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                    if audioContent.tag.count > 0 {
 | 
					                    if audioContent.tag.count > 0 {
 | 
				
			||||||
                        Text(audioContent.tag)
 | 
					                        Text(audioContent.tag)
 | 
				
			||||||
                            .font(.custom(Font.medium.rawValue, size: 12))
 | 
					                            .font(.custom(Font.medium.rawValue, size: 12))
 | 
				
			||||||
                            .foregroundColor(Color(hex: "9970ff"))
 | 
					                            .foregroundColor(Color.button)
 | 
				
			||||||
                            .frame(maxWidth: .infinity, alignment: .leading)
 | 
					                            .frame(maxWidth: .infinity, alignment: .leading)
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    
 | 
					                    
 | 
				
			||||||
                    Text(audioContent.detail)
 | 
					                    Text(audioContent.detail)
 | 
				
			||||||
                        .font(.custom(Font.medium.rawValue, size: 12))
 | 
					                        .font(.custom(Font.medium.rawValue, size: 12))
 | 
				
			||||||
                        .foregroundColor(Color(hex: "777777"))
 | 
					                        .foregroundColor(Color.gray77)
 | 
				
			||||||
                        .lineLimit(isExpandDescription ? nil : 3)
 | 
					                        .lineLimit(isExpandDescription ? nil : 3)
 | 
				
			||||||
                        .lineSpacing(5)
 | 
					                        .lineSpacing(5)
 | 
				
			||||||
                        .frame(maxWidth: .infinity, alignment: .leading)
 | 
					                        .frame(maxWidth: .infinity, alignment: .leading)
 | 
				
			||||||
@@ -173,7 +175,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                    HStack(spacing: 0) {
 | 
					                    HStack(spacing: 0) {
 | 
				
			||||||
                        Text("미리듣기 중입니다.\n콘텐츠 구매 후 전체를 감상해 보세요.")
 | 
					                        Text("미리듣기 중입니다.\n콘텐츠 구매 후 전체를 감상해 보세요.")
 | 
				
			||||||
                            .font(.custom(Font.medium.rawValue, size: 12))
 | 
					                            .font(.custom(Font.medium.rawValue, size: 12))
 | 
				
			||||||
                            .foregroundColor(Color(hex: "bbbbbb"))
 | 
					                            .foregroundColor(Color.graybb)
 | 
				
			||||||
                            .lineSpacing(5)
 | 
					                            .lineSpacing(5)
 | 
				
			||||||
                        
 | 
					                        
 | 
				
			||||||
                        Spacer()
 | 
					                        Spacer()
 | 
				
			||||||
@@ -187,7 +189,7 @@ struct ContentDetailInfoView: View {
 | 
				
			|||||||
                    .overlay(
 | 
					                    .overlay(
 | 
				
			||||||
                        RoundedRectangle(cornerRadius: 5.3)
 | 
					                        RoundedRectangle(cornerRadius: 5.3)
 | 
				
			||||||
                            .stroke(lineWidth: 1)
 | 
					                            .stroke(lineWidth: 1)
 | 
				
			||||||
                            .foregroundColor(Color(hex: "9970ff"))
 | 
					                            .foregroundColor(Color.button)
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -132,7 +132,7 @@ struct ContentDetailView: View {
 | 
				
			|||||||
                                            }
 | 
					                                            }
 | 
				
			||||||
                                        }
 | 
					                                        }
 | 
				
			||||||
                                        
 | 
					                                        
 | 
				
			||||||
                                        if audioContent.isCommentAvailable {
 | 
					                                        if audioContent.isCommentAvailable && !audioContent.contentUrl.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty && audioContent.releaseDate == nil {
 | 
				
			||||||
                                            ContentDetailCommentView(
 | 
					                                            ContentDetailCommentView(
 | 
				
			||||||
                                                commentCount: audioContent.commentCount,
 | 
					                                                commentCount: audioContent.commentCount,
 | 
				
			||||||
                                                commentList: audioContent.commentList,
 | 
					                                                commentList: audioContent.commentList,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user