라이브 방 - 스피커 최대 10 -> 5명으로 수정
This commit is contained in:
@@ -28,7 +28,7 @@ struct LiveRoomProfileItemTitleView: View {
|
||||
}
|
||||
|
||||
if let totalCount = totalCount {
|
||||
Text("/\(totalCount > 9 ? 9 : totalCount - 1)")
|
||||
Text("/\(totalCount > 4 ? 4 : totalCount - 1)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
}
|
||||
|
@@ -150,7 +150,7 @@ struct LiveRoomProfilesDialogView: View {
|
||||
role: listener.role,
|
||||
onClickChangeListener: { _ in },
|
||||
onClickInviteSpeaker: {
|
||||
if viewModel.liveRoomInfo!.speakerList.count <= 9 {
|
||||
if viewModel.liveRoomInfo!.speakerList.count <= 4 {
|
||||
viewModel.inviteSpeaker(peerId: $0)
|
||||
viewModel.popupContent = "스피커 요청을 보냈습니다.\n잠시만 기다려 주세요."
|
||||
viewModel.isShowPopup = true
|
||||
|
Reference in New Issue
Block a user