feat(creator): 오디오 탭을 추가한다

This commit is contained in:
Yu Sung
2026-07-04 16:40:35 +09:00
parent 6600cd43c1
commit c4c18341a6
12 changed files with 955 additions and 77 deletions

View File

@@ -104,6 +104,15 @@ struct CreatorChannelView: View {
.ignoresSafeArea(.container, edges: .bottom)
}
if isOwnCreatorChannel && viewModel.selectedTab == .audio && !viewModel.isLoading {
VStack {
Spacer()
CreatorChannelAudioUploadButton(action: showAudioContentUpload)
}
.ignoresSafeArea(.container, edges: .bottom)
}
if isShowAuthConfirmView {
authConfirmDialog
}
@@ -207,6 +216,12 @@ struct CreatorChannelView: View {
onTapLive: showLiveDetail,
onTapContent: showContentDetail
)
} else if viewModel.selectedTab == .audio {
CreatorChannelAudioTabView(
creatorId: creatorId,
isOwnCreatorChannel: isOwnCreatorChannel,
onTapContent: showContentDetail
)
} else if viewModel.selectedTab != .home {
CreatorChannelPlaceholderTabView(title: viewModel.selectedTab.title)
} else if let response = viewModel.response {