From 0dd054a0edc7cd93e0ae19ed6908e4b76bb29149 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 8 Oct 2026 12:33:14 +0900 Subject: [PATCH] =?UTF-8?q?feat(channel):=20=EC=84=A0=EB=AC=BC=20=EB=B0=9C?= =?UTF-8?q?=EC=86=A1=20=ED=99=94=EB=A9=B4=EC=9D=84=20=EC=97=B0=EA=B2=B0?= =?UTF-8?q?=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/CreatorChannelHeaderSection.swift | 2 ++ .../Components/CreatorChannelTalkActionSection.swift | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/SodaLive/Sources/V2/CreatorChannel/Components/CreatorChannelHeaderSection.swift b/SodaLive/Sources/V2/CreatorChannel/Components/CreatorChannelHeaderSection.swift index 2afd1aaa..feac2690 100644 --- a/SodaLive/Sources/V2/CreatorChannel/Components/CreatorChannelHeaderSection.swift +++ b/SodaLive/Sources/V2/CreatorChannel/Components/CreatorChannelHeaderSection.swift @@ -55,6 +55,8 @@ struct CreatorChannelHeaderSection: View { .multilineTextAlignment(.center) CreatorChannelTalkActionSection( + recipientMemberId: creator.creatorId, + recipientCreatorNickname: creator.nickname, isAiChatAvailable: creator.isAiChatAvailable, isDmAvailable: creator.isDmAvailable, isOwnCreatorChannel: isOwnCreatorChannel, diff --git a/SodaLive/Sources/V2/CreatorChannel/Home/Components/CreatorChannelTalkActionSection.swift b/SodaLive/Sources/V2/CreatorChannel/Home/Components/CreatorChannelTalkActionSection.swift index 7752674a..34dda731 100644 --- a/SodaLive/Sources/V2/CreatorChannel/Home/Components/CreatorChannelTalkActionSection.swift +++ b/SodaLive/Sources/V2/CreatorChannel/Home/Components/CreatorChannelTalkActionSection.swift @@ -1,6 +1,8 @@ import SwiftUI struct CreatorChannelTalkActionSection: View { + let recipientMemberId: Int + let recipientCreatorNickname: String let isAiChatAvailable: Bool let isDmAvailable: Bool let isOwnCreatorChannel: Bool @@ -61,7 +63,12 @@ struct CreatorChannelTalkActionSection: View { } if shouldShowGiftButton { - Button(action: {}) { + Button(action: { + AppState.shared.setAppStep(step: .giftSend( + recipientMemberId: recipientMemberId, + recipientCreatorNickname: recipientCreatorNickname + )) + }) { Text(I18n.CreatorChannelHome.sendGift) .appFont(size: 16, weight: .medium) .foregroundColor(.white)