From 2b9018f9cb2d53d2171e84bd980807cd756fd8be Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 3 Jul 2026 18:31:31 +0900 Subject: [PATCH] =?UTF-8?q?fix(home):=20AI=20=EC=BA=90=EB=A6=AD=ED=84=B0?= =?UTF-8?q?=20=ED=83=AD=20=EC=9D=B4=EB=8F=99=EC=9D=84=20=EB=A7=9E=EC=B6=98?= =?UTF-8?q?=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/MainHomeAiCharacterSection.swift | 2 +- SodaLive/Sources/V2/Main/MainView.swift | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/SodaLive/Sources/V2/Main/Home/Recommendation/Components/MainHomeAiCharacterSection.swift b/SodaLive/Sources/V2/Main/Home/Recommendation/Components/MainHomeAiCharacterSection.swift index 382a71b4..f792b2e8 100644 --- a/SodaLive/Sources/V2/Main/Home/Recommendation/Components/MainHomeAiCharacterSection.swift +++ b/SodaLive/Sources/V2/Main/Home/Recommendation/Components/MainHomeAiCharacterSection.swift @@ -21,7 +21,7 @@ struct MainHomeAiCharacterSection: View { LazyHStack(alignment: .center, spacing: SodaSpacing.s4) { ForEach(items, id: \.self) { item in Button { - onTapCharacter(item.characterId) + onTapCharacter(item.creatorId) } label: { AiCharacterCard( name: item.name, diff --git a/SodaLive/Sources/V2/Main/MainView.swift b/SodaLive/Sources/V2/Main/MainView.swift index f03cde90..953e9b37 100644 --- a/SodaLive/Sources/V2/Main/MainView.swift +++ b/SodaLive/Sources/V2/Main/MainView.swift @@ -160,7 +160,7 @@ struct MainView: View { onTapLive: handleRecommendationLiveTap, onTapCreator: handleRecommendationCreatorTap, onTapContent: handleRecommendationContentTap, - onTapCharacter: handleRecommendationCharacterTap, + onTapCharacter: handleRecommendationCreatorTap, onTapCommunity: handleRecommendationCommunityTap, onTapBanner: handleRecommendationBannerTap, onTapFollowAll: handleRecommendationFollowAllTap, @@ -472,13 +472,6 @@ struct MainView: View { } } - private func handleRecommendationCharacterTap(characterId: Int) { - guard characterId > 0 else { return } - performRecommendationDetailAction { - appState.setAppStep(step: .characterDetail(characterId: characterId)) - } - } - private func handleRecommendationCommunityTap(creatorId: Int) { guard creatorId > 0 else { return } performRecommendationDetailAction {