채널에서 커뮤니티 아이템 터치하면 커뮤니티 전체보기 페이지로 이동
This commit is contained in:
parent
0de3cf55a7
commit
c1679acff9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue