댓글 추가 불가능 한 포스트의 경우 댓글 영역이 보이지 않도록 수정
This commit is contained in:
@@ -97,6 +97,7 @@ struct CreatorCommunityAllItemView: View {
|
|||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
|
||||||
|
if item.isCommentAvailable {
|
||||||
CreatorCommunityCommentView(
|
CreatorCommunityCommentView(
|
||||||
commentCount: item.commentCount,
|
commentCount: item.commentCount,
|
||||||
commentItem: item.firstComment,
|
commentItem: item.firstComment,
|
||||||
@@ -108,6 +109,7 @@ struct CreatorCommunityAllItemView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.padding(.horizontal, 8)
|
.padding(.horizontal, 8)
|
||||||
.padding(.vertical, 11)
|
.padding(.vertical, 11)
|
||||||
.background(Color(hex: "222222"))
|
.background(Color(hex: "222222"))
|
||||||
|
Reference in New Issue
Block a user