feat(live-room): 라이브룸 채팅 삭제 기능 구현
This commit is contained in:
@@ -12,6 +12,7 @@ struct LiveRoomChatItemView: View {
|
||||
|
||||
let chatMessage: LiveRoomNormalChat
|
||||
let onClickProfile: () -> Void
|
||||
let onLongPressChat: (() -> Void)?
|
||||
|
||||
private var rankValue: Int {
|
||||
chatMessage.rank + 1
|
||||
@@ -132,6 +133,9 @@ struct LiveRoomChatItemView: View {
|
||||
Color.black.opacity(0.6)
|
||||
)
|
||||
.cornerRadius(3.3)
|
||||
.onLongPressGesture {
|
||||
onLongPressChat?()
|
||||
}
|
||||
}
|
||||
.frame(width: screenSize().width - 86, alignment: .leading)
|
||||
.padding(.leading, 20)
|
||||
|
||||
Reference in New Issue
Block a user