diff --git a/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfileItemTitleView.swift b/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfileItemTitleView.swift index 157d2f6..71feff1 100644 --- a/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfileItemTitleView.swift +++ b/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfileItemTitleView.swift @@ -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")) } diff --git a/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfilesDialogView.swift b/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfilesDialogView.swift index 12aaf9d..4ae4bfb 100644 --- a/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfilesDialogView.swift +++ b/SodaLive/Sources/Live/Room/Dialog/LiveRoomProfilesDialogView.swift @@ -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 diff --git a/SodaLive/Sources/Live/Room/LiveRoomView.swift b/SodaLive/Sources/Live/Room/LiveRoomView.swift index e89b89a..8d1a1d3 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomView.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomView.swift @@ -690,7 +690,7 @@ struct LiveRoomView: View { private func inviteSpeaker(peerId: Int) { - if viewModel.liveRoomInfo!.speakerList.count <= 9 { + if viewModel.liveRoomInfo!.speakerList.count <= 4 { viewModel.inviteSpeaker(peerId: peerId) self.viewModel.popupContent = "스피커 요청을 보냈습니다.\n잠시만 기다려 주세요." self.viewModel.isShowPopup = true diff --git a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift index 939d1ce..2aa96dc 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift @@ -1280,7 +1280,7 @@ extension LiveRoomViewModel: AgoraRtmDelegate { self.popupConfirmTitle = "스피커로 초대" self.popupConfirmAction = { self.isShowPopup = false - if self.liveRoomInfo!.speakerList.count <= 9 { + if self.liveRoomInfo!.speakerList.count <= 4 { self.requestSpeakerAllow(peerId) } else { self.errorMessage = "스피커 정원이 초과되었습니다."