응원글 삭제 기능 추가
This commit is contained in:
@@ -81,17 +81,18 @@ struct UserProfileFanTalkAllView: View {
|
||||
let cheer = viewModel.cheersList[index]
|
||||
UserProfileFanTalkCheersItemView(
|
||||
userId: userId,
|
||||
cheer: cheer,
|
||||
cheersItem: cheer,
|
||||
writeCheerReply: { cheersReplyContent in
|
||||
viewModel.writeCheersReply(parentCheersId: cheer.cheersId, creatorId: userId, cheersReplyContent: cheersReplyContent)
|
||||
},
|
||||
modifyCheer: { cheersId, cheersReplyContent in
|
||||
viewModel.modifyCheersReply(cheersId: cheersId, creatorId: userId, cheersReplyContent: cheersReplyContent)
|
||||
viewModel.modifyCheers(cheersId: cheersId, creatorId: userId, cheersReplyContent: cheersReplyContent)
|
||||
},
|
||||
reportPopup: { cheersId in
|
||||
viewModel.reportCheersId = cheersId
|
||||
viewModel.isShowCheersReportMenu = true
|
||||
}
|
||||
},
|
||||
onClickDelete: { _ in }
|
||||
)
|
||||
.onAppear {
|
||||
if index == viewModel.cheersList.count - 1 {
|
||||
|
Reference in New Issue
Block a user