fix(character): 추천 캐릭터가 터치 액션이 실행 되지 않는 버그 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user