라이프 참여자 리스트

- 스피커 표시 최대 5명
This commit is contained in:
klaus 2024-09-24 19:39:32 +09:00
parent 66a83a118f
commit 84b64d3283
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ data class LiveRoomProfileItemSpeakerTitle(
val itemBinding = binding as ItemLiveRoomProfileHeaderBinding
itemBinding.tvTitle.text = title
itemBinding.tvSpeakerCount.text = "$speakerCount"
itemBinding.tvSpeakerTotalCount.text = if (totalUserCount > 4) {
"/4"
itemBinding.tvSpeakerTotalCount.text = if (totalUserCount > 5) {
"/5"
} else {
"/${totalUserCount - 1}"
}