feat(creator): 오디오 탭을 추가한다
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user