라이브 프로필 다이얼로그
- 메시지 보내기 버튼 제거
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user