feat(creator-channel): 홈 빈 상태 동작을 보강한다

This commit is contained in:
Yu Sung
2026-08-14 18:41:04 +09:00
parent 2203fc9089
commit 6db26c55a8
7 changed files with 183 additions and 16 deletions

View File

@@ -7,6 +7,7 @@ struct CreatorChannelHomeView: View {
let onTapLive: (Int) -> Void
let onTapContent: (Int) -> Void
let onTapDonate: () -> Void
let onTapFanTalkWrite: () -> Void
let onTapSchedule: (CreatorActivityType, Int) -> Void
let onTapSeries: (Int) -> Void
let onTapCommunityLike: (Int) -> Void
@@ -20,6 +21,7 @@ struct CreatorChannelHomeView: View {
onTapLive: @escaping (Int) -> Void = { _ in },
onTapContent: @escaping (Int) -> Void = { _ in },
onTapDonate: @escaping () -> Void = {},
onTapFanTalkWrite: @escaping () -> Void = {},
onTapSchedule: @escaping (CreatorActivityType, Int) -> Void = { _, _ in },
onTapSeries: @escaping (Int) -> Void = { _ in },
onTapCommunityLike: @escaping (Int) -> Void = { _ in },
@@ -32,6 +34,7 @@ struct CreatorChannelHomeView: View {
self.onTapLive = onTapLive
self.onTapContent = onTapContent
self.onTapDonate = onTapDonate
self.onTapFanTalkWrite = onTapFanTalkWrite
self.onTapSchedule = onTapSchedule
self.onTapSeries = onTapSeries
self.onTapCommunityLike = onTapCommunityLike
@@ -90,7 +93,9 @@ struct CreatorChannelHomeView: View {
CreatorChannelFanTalkSection(
fanTalk: response.fanTalk,
onSelectTab: onSelectTab
showsWriteButton: isOwnCreatorChannel == false,
onSelectTab: onSelectTab,
onTapWrite: onTapFanTalkWrite
)
CreatorChannelIntroduceSection(introduce: response.introduce)