커뮤니티 게시물 등록 API 적용,

채널 프로필 API - 커뮤니티 게시물 추가
This commit is contained in:
Yu Sung
2023-12-20 00:10:16 +09:00
parent d393bb8f8b
commit d829399b05
15 changed files with 412 additions and 56 deletions

View File

@@ -8,6 +8,9 @@
import SwiftUI
struct CreatorCommunityNoPostsItemView: View {
let onSuccess: () -> Void
var body: some View {
VStack(spacing: 10.3) {
CreatorCommunityWriteItemView()
@@ -26,11 +29,15 @@ struct CreatorCommunityNoPostsItemView: View {
.frame(maxWidth: .infinity)
.background(Color(hex: "222222"))
.cornerRadius(10.3)
.contentShape(Rectangle())
.onTapGesture {
AppState.shared.setAppStep(step: .creatorCommunityWrite(onSuccess: onSuccess))
}
}
}
struct CreatorCommunityNoPostsItemView_Previews: PreviewProvider {
static var previews: some View {
CreatorCommunityNoPostsItemView()
CreatorCommunityNoPostsItemView {}
}
}