채널에서 커뮤니티 아이템 터치하면 커뮤니티 전체보기 페이지로 이동

This commit is contained in:
Yu Sung 2023-12-22 01:59:01 +09:00
parent 0de3cf55a7
commit c1679acff9
1 changed files with 10 additions and 3 deletions

View File

@ -77,12 +77,19 @@ struct UserProfileView: View {
let item = viewModel.communityPostList[index] let item = viewModel.communityPostList[index]
CreatorCommunityItemView(item: item) CreatorCommunityItemView(item: item)
.frame(width: 320) .frame(width: 320)
.onTapGesture {
AppState.shared
.setAppStep(
step: .creatorCommunityAll(creatorId: userId)
)
}
} }
CreatorCommunityMoreItemView { CreatorCommunityMoreItemView {
AppState.shared.setAppStep( AppState.shared
step: .creatorCommunityAll(creatorId: userId) .setAppStep(
) step: .creatorCommunityAll(creatorId: userId)
)
} }
} }
.padding(.horizontal, 13.3) .padding(.horizontal, 13.3)