라이브 - 방장을 제외한 모든 유저에게 참여자 목록 버튼이 보이지 않도록 수정
This commit is contained in:
@@ -759,7 +759,13 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||
}
|
||||
}
|
||||
|
||||
binding.llViewUsers.setOnClickListener { roomProfileDialog.show() }
|
||||
if (response.creatorId == SharedPreferenceManager.userId) {
|
||||
binding.llViewUsers.visibility = View.VISIBLE
|
||||
binding.llViewUsers.setOnClickListener { roomProfileDialog.show() }
|
||||
} else {
|
||||
binding.llViewUsers.visibility = View.GONE
|
||||
}
|
||||
|
||||
binding.tvParticipate.text = "${response.participantsCount}"
|
||||
setNoticeAndClickableUrl(binding.tvNotice, response.notice)
|
||||
|
||||
|
Reference in New Issue
Block a user