From 9e7c62b7944bb5a8f3df2416bccd991320999e29 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Mon, 24 Nov 2025 14:49:00 +0900 Subject: [PATCH] =?UTF-8?q?fix(character):=20=EC=B6=94=EC=B2=9C=20?= =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=EA=B0=80=20=ED=84=B0=EC=B9=98=20?= =?UTF-8?q?=EC=95=A1=EC=85=98=EC=9D=B4=20=EC=8B=A4=ED=96=89=20=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Chat/Character/CharacterView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SodaLive/Sources/Chat/Character/CharacterView.swift b/SodaLive/Sources/Chat/Character/CharacterView.swift index fc93115..bc061a7 100644 --- a/SodaLive/Sources/Chat/Character/CharacterView.swift +++ b/SodaLive/Sources/Chat/Character/CharacterView.swift @@ -97,12 +97,14 @@ struct CharacterView: View { spacing: gridSpacing ) { ForEach(viewModel.recommendCharacters.indices, id: \.self) { idx in + let character = viewModel.recommendCharacters[idx] CharacterItemView( - character: viewModel.recommendCharacters[idx], + character: character, size: width, rank: idx + 1, isShowRank: false ) + .onTapGesture { onSelectCharacter(character.characterId) } } } .padding(.horizontal, horizontalPadding)