라이브 프로필 다이얼로그

- 메시지 보내기 버튼 제거
This commit is contained in:
2023-11-20 11:40:57 +09:00
parent 48d1db3b79
commit 664f34ed5b
3 changed files with 19 additions and 65 deletions

View File

@@ -328,8 +328,6 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
isStaff = {
viewModel.isEqualToManagerId(it.toInt())
},
onClickSendMessage = { userId, nickname ->
},
onClickSetManager = {
setManagerMessageToPeer(userId = it)
viewModel.setManager(roomId = roomId, userId = it) {

View File

@@ -20,7 +20,6 @@ class LiveRoomUserProfileDialog(
private val userProfileLiveData: LiveData<GetLiveRoomUserProfileResponse>,
layoutInflater: LayoutInflater,
private val isStaff: (Long) -> Boolean,
private val onClickSendMessage: (Long, String) -> Unit,
private val onClickSetManager: (Long) -> Unit,
private val onClickReleaseManager: (Long) -> Unit,
private val onClickFollow: (Long) -> Unit,
@@ -89,12 +88,6 @@ class LiveRoomUserProfileDialog(
dialogView.tvIntroduce.text = userProfile.introduce
dialogView.ivClose.setOnClickListener { alertDialog.dismiss() }
dialogView.llSendMessage.setOnClickListener {
onClickSendMessage(
userProfile.userId,
userProfile.nickname
)
}
dialogView.tvIntroduce.setOnClickListener {
isIntroduceFold = !isIntroduceFold