feat(creator): 시리즈 섹션을 연결한다
This commit is contained in:
@@ -159,7 +159,8 @@ struct CreatorChannelView: View {
|
||||
onTapLive: showLiveDetail,
|
||||
onTapContent: showContentDetail,
|
||||
onTapDonate: showDonationDialog,
|
||||
onTapSchedule: handleScheduleTap
|
||||
onTapSchedule: handleScheduleTap,
|
||||
onTapSeries: showSeriesDetail
|
||||
)
|
||||
} else {
|
||||
CreatorChannelPlaceholderTabView(title: viewModel.selectedTab.title)
|
||||
@@ -201,6 +202,11 @@ struct CreatorChannelView: View {
|
||||
)
|
||||
}
|
||||
|
||||
private func showSeriesDetail(_ seriesId: Int) {
|
||||
guard seriesId > 0 else { return }
|
||||
AppState.shared.setAppStep(step: .seriesDetail(seriesId: seriesId))
|
||||
}
|
||||
|
||||
private func showCommunity(_ creatorId: Int) {
|
||||
guard creatorId > 0 else { return }
|
||||
AppState.shared.setAppStep(step: .creatorCommunityAll(creatorId: creatorId))
|
||||
|
||||
Reference in New Issue
Block a user